X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.NUI%2Fsrc%2Fpublic%2FApplication%2FNUIComponentApplication.cs;h=4280633baafad6d7a3a9f8c6d88b90db6354ee5a;hb=7d2c1760de4801232d369153d56b8621d1038011;hp=690d412cf09abccb2e8a659f68369c01541fb829;hpb=b9f2684d3c69e071b75dfa8b7c782dd05a845996;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
diff --git a/src/Tizen.NUI/src/public/Application/NUIComponentApplication.cs b/src/Tizen.NUI/src/public/Application/NUIComponentApplication.cs
index 690d412..4280633 100755
--- a/src/Tizen.NUI/src/public/Application/NUIComponentApplication.cs
+++ b/src/Tizen.NUI/src/public/Application/NUIComponentApplication.cs
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
@@ -18,20 +18,17 @@ using System;
using System.Collections.Generic;
using System.ComponentModel;
using Tizen.Applications;
-using Tizen.Applications.ComponentBased;
using Tizen.Applications.ComponentBased.Common;
-using Tizen.NUI.BaseComponents;
namespace Tizen.NUI
{
-
///
/// The class for supporting multi-components application model.
///
[EditorBrowsable(EditorBrowsableState.Never)]
public class NUIComponentApplication : CoreApplication
{
- private Dictionary _componentFactories = new Dictionary();
+ private Dictionary componentFactories = new Dictionary();
///
/// Initializes the ComponentApplication class.
@@ -50,7 +47,7 @@ namespace Tizen.NUI
RegisterComponent(component.Key, component.Value);
}
}
- (Backend as NUIComponentCoreBackend).ComponentFactories = _componentFactories;
+ (Backend as NUIComponentCoreBackend).ComponentFactories = componentFactories;
}
///
@@ -62,18 +59,18 @@ namespace Tizen.NUI
[EditorBrowsable(EditorBrowsableState.Never)]
public void RegisterComponent(Type compType, string compId)
{
- if (_componentFactories.ContainsKey(compType))
+ if (componentFactories.ContainsKey(compType))
{
throw new ArgumentException("Already exist type");
}
if (typeof(FrameComponent).IsAssignableFrom(compType))
{
- _componentFactories.Add(compType, new FrameComponentStateManager(compType, compId, null));
+ componentFactories.Add(compType, new FrameComponentStateManager(compType, compId, null));
}
else if (typeof(ServiceComponent).IsAssignableFrom(compType))
{
- _componentFactories.Add(compType, new ServiceComponentStateManager(compType, compId, null));
+ componentFactories.Add(compType, new ServiceComponentStateManager(compType, compId, null));
}
else
{
@@ -81,7 +78,6 @@ namespace Tizen.NUI
}
}
-
///
/// Runs the application's main loop.
///