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> PreLoadOperations
30 } = new List<Operation>();
32 internal List<Operation> Operations
35 } = new List<Operation>();
37 internal List<object> GatheredInstances
40 } = new List<object>();
42 internal List<object> ObjectsFromProperty
45 } = new List<object>();
47 internal List<EventInfo> GatheredEvents
50 } = new List<EventInfo>();
52 internal List<MethodInfo> GatheredMethods
55 } = new List<MethodInfo>();
57 internal List<Type> GatheredTypes
62 internal List<PropertyInfo> GatheredProperties
65 } = new List<PropertyInfo>();
67 internal List<BindableProperty> GatheredBindableProperties
70 } = new List<BindableProperty>();
72 private List<AssemblyName> assemblyNameList;
73 internal List<AssemblyName> AssemblyNameList
77 if (null == assemblyNameList)
79 assemblyNameList = new List<AssemblyName>();
80 assemblyNameList.Add(EXamlExtensions.MainAssembly.GetName());
82 var assemblyNames = EXamlExtensions.MainAssembly.GetReferencedAssemblies();
84 foreach (var name in assemblyNames)
86 assemblyNameList.Add(name);
90 return assemblyNameList;
94 internal List<Assembly> GatheredAssemblies = new List<Assembly>();