Ejemplo n.º 1
0
 public static SyncDelegate LocalFunc(Type parentType, string parentMethod, string name, Type[] parentArgs = null)
 {
     return(Sync.RegisterSyncDelegate(
                MpMethodUtil.GetLocalFunc(parentType, parentMethod, MethodType.Normal, parentArgs, name),
                null
                ));
 }
Ejemplo n.º 2
0
 public static SyncDelegate LambdaInGetter(Type parentType, string parentMethod, int lambdaOrdinal)
 {
     return(Sync.RegisterSyncDelegate(
                MpMethodUtil.GetLambda(parentType, parentMethod, MethodType.Getter, null, lambdaOrdinal),
                null
                ));
 }
Ejemplo n.º 3
0
 public static SyncDelegate Lambda(Type parentType, string parentMethod, int lambdaOrdinal, Type[] parentArgs = null, MethodType parentMethodType = MethodType.Normal)
 {
     return(Sync.RegisterSyncDelegate(
                MpMethodUtil.GetLambda(parentType, parentMethod, parentMethodType, parentArgs, lambdaOrdinal),
                null
                ));
 }
Ejemplo n.º 4
0
 public static SyncDelegate Register(Type inType, string nestedType, string methodName, string[] fields)
 {
     return(Sync.RegisterSyncDelegate(inType, nestedType, methodName, fields));
 }
Ejemplo n.º 5
0
 public static SyncDelegate Register(Type type, string nestedType, string method)
 {
     return(Sync.RegisterSyncDelegate(type, nestedType, method));
 }