From d548e3429d6b6f38dfbec4075e33b48443743b5e Mon Sep 17 00:00:00 2001 From: hjhun <36876573+hjhun@users.noreply.github.com> Date: Wed, 8 Mar 2023 13:02:36 +0900 Subject: [PATCH] [NUI.Gadget] Modify NUIGadgetManager.Add() method (#5011) When calling the CreateInstance() method, this patch modifies the set the ignoreCase to true that the case of the className is no checked. Signed-off-by: Hwankyu Jhun Co-authored-by: Jay Cho --- src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadgetManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadgetManager.cs b/src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadgetManager.cs index fda5e27..1795293 100755 --- a/src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadgetManager.cs +++ b/src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadgetManager.cs @@ -146,7 +146,7 @@ namespace Tizen.NUI throw new InvalidOperationException(e.Message); } - NUIGadget gadget = assembly.CreateInstance(className) as NUIGadget; + NUIGadget gadget = assembly.CreateInstance(className, true) as NUIGadget; if (gadget == null) { throw new InvalidOperationException("Failed to create instance. className: " + className); -- 2.7.4