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
27 internal List<Operation> Operations
30 } = new List<Operation>();
32 internal List<object> GatheredInstances
35 } = new List<object>();
37 internal List<object> ObjectsFromProperty
40 } = new List<object>();
42 internal List<EventInfo> GatheredEvents
45 } = new List<EventInfo>();
47 internal List<MethodInfo> GatheredMethods
50 } = new List<MethodInfo>();
52 internal List<Type> GatheredTypes
57 internal List<PropertyInfo> GatheredProperties
60 } = new List<PropertyInfo>();
62 internal List<BindableProperty> GatheredBindableProperties
65 } = new List<BindableProperty>();
67 private List<AssemblyName> assemblyNameList;
68 internal List<AssemblyName> AssemblyNameList
72 if (null == assemblyNameList)
74 assemblyNameList = new List<AssemblyName>();
75 assemblyNameList.Add(EXamlExtensions.MainAssembly.GetName());
77 var assemblyNames = EXamlExtensions.MainAssembly.GetReferencedAssemblies();
79 foreach (var name in assemblyNames)
81 assemblyNameList.Add(name);
85 return assemblyNameList;
89 internal List<Assembly> GatheredAssemblies = new List<Assembly>();