From f8d2885e2887859c5b889597b9c6d6139c8a2d83 Mon Sep 17 00:00:00 2001 From: Xianbing Teng Date: Tue, 7 Dec 2021 18:07:26 +0800 Subject: [PATCH] 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 edc6c89..5f3f66c 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); } } } @@ -555,13 +555,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