public static CallSite <T> CreateCallSite <T>( CallSiteBinder binder, MemberInvocationMoniker name, Type context, string[] argumentNames = null, bool staticContext = false, bool isEvent = false) where T : class { return(InvocationMapping.CreateCallSite <T>(binder.GetType(), () => binder, name, context, argumentNames, staticContext, isEvent)); }
public static CallSite CreateCallSite( Type delegateType, CallSiteBinder binder, MemberInvocationMoniker name, Type context, string[] argumentNames = null, bool staticContext = false, bool isEvent = false) { return(InvocationMapping.CreateCallSite(delegateType, binder.GetType(), () => binder, name, context, argumentNames, staticContext, isEvent)); }