From 833e4528c31e72380528c26590929c9762d8f99e Mon Sep 17 00:00:00 2001 From: Xianbing Teng Date: Tue, 7 Dec 2021 18:07:26 +0800 Subject: [PATCH] [NUI] Remove XamlLoadedEventArgs --- src/Tizen.NUI/src/public/Application/NUIApplication.cs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/Tizen.NUI/src/public/Application/NUIApplication.cs b/src/Tizen.NUI/src/public/Application/NUIApplication.cs index 1caabde..b5241a2 100755 --- a/src/Tizen.NUI/src/public/Application/NUIApplication.cs +++ b/src/Tizen.NUI/src/public/Application/NUIApplication.cs @@ -43,7 +43,7 @@ namespace Tizen.NUI /// Xaml loaded delegate. /// [EditorBrowsable(EditorBrowsableState.Never)] - public delegate void XamlLoadedHandler(XamlLoadedEventArgs args); + public delegate void XamlLoadedHandler(string xamlName); static NUIApplication() { @@ -255,7 +255,7 @@ namespace Tizen.NUI if (currentLoadedXaml != value) { currentLoadedXaml = value; - XamlLoaded?.Invoke(new XamlLoadedEventArgs(){XamlName = value}); + XamlLoaded?.Invoke(value); } } } @@ -540,13 +540,4 @@ namespace Tizen.NUI internal const string GlesCSharpBinder = NDalicPINVOKE.Lib; internal const string VulkanCSharpBinder = "libdali-csharp-binder-vk.so"; } - - /// - /// Xaml loaded event args. - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public class XamlLoadedEventArgs : EventArgs - { - public string XamlName {get; set;} - } } -- 2.7.4