[NUI][API11] Fix a SVACE issue.
authorhuayong.xu <huayong.xu@samsung.com>
Thu, 8 Feb 2024 03:30:27 +0000 (11:30 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 21 Feb 2024 07:57:44 +0000 (16:57 +0900)
src/Tizen.NUI/src/public/CustomView/CustomViewRegistry.cs

index 640f832..626695b 100755 (executable)
@@ -252,7 +252,7 @@ namespace Tizen.NUI
         /// <since_tizen> 3 </since_tizen>
         public void Register(Func<CustomView> createFunction, System.Type viewType)
         {
-            if (null == viewType)
+            if (null == viewType || null == viewType.ToString())
             {
                 throw new ArgumentNullException(nameof(viewType));
             }