public CSharpSetIndexBinder(CSharpBinderFlags flags, Type callingContext, IEnumerable <CSharpArgumentInfo> argumentInfo)
     : base(CSharpArgumentInfo.CreateCallInfo(argumentInfo, 2))
 {
     this.flags          = flags;
     this.callingContext = callingContext;
     this.argumentInfo   = argumentInfo.ToReadOnly();
 }
예제 #2
0
 public CSharpInvokeMemberBinder(CSharpBinderFlags flags, string name, Type callingContext, IEnumerable <Type> typeArguments, IEnumerable <CSharpArgumentInfo> argumentInfo)
     : base(name, false, CSharpArgumentInfo.CreateCallInfo(argumentInfo, 1))
 {
     this.flags          = flags;
     this.callingContext = callingContext;
     this.argumentInfo   = argumentInfo.ToReadOnly();
     this.typeArguments  = typeArguments.ToReadOnly();
 }
 public CSharpGetIndexBinder(Type callingContext, IEnumerable <CSharpArgumentInfo> argumentInfo)
     : base(CSharpArgumentInfo.CreateCallInfo(argumentInfo, 1))
 {
     this.callingContext = callingContext;
     this.argumentInfo   = argumentInfo.ToReadOnly();
 }