2 using System.Collections.Generic;
4 using System.Reflection;
6 using Tizen.NUI.BaseComponents;
7 using Tizen.NUI.Binding;
8 using Tizen.NUI.Binding.Internals;
10 namespace Tizen.NUI.EXaml
12 internal class GatherMethod : Operation
14 public GatherMethod(int typeIndex, string methodName)
16 this.typeIndex = typeIndex;
17 this.methodName = methodName;
22 var type = GatherType.GatheredTypes[typeIndex];
23 var method = type.GetRuntimeMethods().FirstOrDefault(mi => mi.Name == methodName);
24 GatheredMethods.Add(method);
27 private int typeIndex;
28 private string methodName;
29 internal static List<MethodInfo> GatheredMethods = new List<MethodInfo>();