From 7b53ead5354b07c5d70d3128abe4d1fb2daa68be Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Tue, 11 Jun 2024 10:26:21 +0900 Subject: [PATCH] [NUI] modifying the code according to the review comments --- src/Tizen.NUI/src/internal/Common/WeakEventProxy.cs | 4 ++-- src/Tizen.NUI/src/public/BaseComponents/View.cs | 2 +- src/Tizen.NUI/src/public/Common/WeakEvent.cs | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Tizen.NUI/src/internal/Common/WeakEventProxy.cs b/src/Tizen.NUI/src/internal/Common/WeakEventProxy.cs index 0d236e2..d184f14 100644 --- a/src/Tizen.NUI/src/internal/Common/WeakEventProxy.cs +++ b/src/Tizen.NUI/src/internal/Common/WeakEventProxy.cs @@ -41,7 +41,7 @@ namespace Tizen.NUI } } - protected override void OnCountDicreased() + protected override void OnCountDecreased() { if (Count == 0) { @@ -72,7 +72,7 @@ namespace Tizen.NUI } } - protected override void OnCountDicreased() + protected override void OnCountDecreased() { if (Count == 0) { diff --git a/src/Tizen.NUI/src/public/BaseComponents/View.cs b/src/Tizen.NUI/src/public/BaseComponents/View.cs index 13c1771..ed748ad 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/View.cs @@ -5310,7 +5310,7 @@ namespace Tizen.NUI.BaseComponents public static int AliveCount => aliveCount; /// - /// Voice interaction name for voice touch. + /// Voice interaction name for Voice Touch. /// /// 12 public string VoiceInteractionName diff --git a/src/Tizen.NUI/src/public/Common/WeakEvent.cs b/src/Tizen.NUI/src/public/Common/WeakEvent.cs index 4a11df3..78bd573 100755 --- a/src/Tizen.NUI/src/public/Common/WeakEvent.cs +++ b/src/Tizen.NUI/src/public/Common/WeakEvent.cs @@ -62,7 +62,7 @@ namespace Tizen.NUI if (lastIndex >= 0) { handlers.RemoveAt(lastIndex); - OnCountDicreased(); + OnCountDecreased(); } } @@ -99,7 +99,7 @@ namespace Tizen.NUI /// with or after detecting that it is no longer valid. /// /// 12 - protected virtual void OnCountDicreased() + protected virtual void OnCountDecreased() { } @@ -118,7 +118,7 @@ namespace Tizen.NUI cleanUpAddCount = 0; int count = handlers.Count; handlers.RemoveAll(item => !item.IsAlive); - if (count > handlers.Count) OnCountDicreased(); + if (count > handlers.Count) OnCountDecreased(); } internal class WeakHandler where U : Delegate -- 2.7.4