2 * Copyright(c) 2021 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 using System.Collections.Generic;
19 using System.Reflection;
21 using Tizen.NUI.Binding;
23 namespace Tizen.NUI.EXaml
25 internal class GlobalDataList
33 internal List<Operation> PreLoadOperations
36 } = new List<Operation>();
38 internal List<Operation> Operations
41 } = new List<Operation>();
43 internal List<Operation> RemoveEventOperations
46 } = new List<Operation>();
48 internal List<object> GatheredInstances
51 } = new List<object>();
53 internal List<object> ObjectsFromProperty
56 } = new List<object>();
58 internal List<EventInfo> GatheredEvents
61 } = new List<EventInfo>();
63 internal List<MethodInfo> GatheredMethods
66 } = new List<MethodInfo>();
68 internal List<Type> GatheredTypes
73 internal List<PropertyInfo> GatheredProperties
76 } = new List<PropertyInfo>();
78 internal List<BindableProperty> GatheredBindableProperties
81 } = new List<BindableProperty>();
83 private List<AssemblyName> assemblyNameList;
84 internal List<AssemblyName> AssemblyNameList
88 if (null == assemblyNameList)
90 assemblyNameList = new List<AssemblyName>();
91 assemblyNameList.Add(EXamlExtensions.MainAssembly.GetName());
93 var assemblyNames = EXamlExtensions.MainAssembly.GetReferencedAssemblies();
95 foreach (var name in assemblyNames)
97 assemblyNameList.Add(name);
101 return assemblyNameList;
105 internal List<Assembly> GatheredAssemblies = new List<Assembly>();