public static EMethod Load(EVar value) { EMethod instance = value.TypeHandler; value.This(); return(instance); }
public EMethod Execute(MethodInfo info, object[] instances) { ILGenerator il = ThreadCache.GetIL(); if (instances != null) { for (int i = 0; i < instances.Length; i++) { if (instances[i] != null) { il.NoErrorLoad(instances[i]); } } } MethodHelper.CallMethod(info); if (info.ReturnType != null) { EMethod newMethod = info.ReturnType; return(newMethod); } else { return(null); } }
public static EMethod Load(EModel value) { EMethod instance; if (value.DelayAction != null) { instance = value.CompareType; value.DelayAction(); } else { instance = value.TypeHandler; value.This(); } return(instance); }
public EMethod Execute(MethodInfo info, Action action = null) { ILGenerator il = ThreadCache.GetIL(); if (action != null) { action(); } MethodHelper.CallMethod(info); if (info.ReturnType != null) { EMethod newMethod = info.ReturnType; return(newMethod); } else { return(null); } }
public static EMethod Load(Type type) { EMethod instance = type; return(instance); }