Пример #1
0
 public override DynamicMetaObject BindInvokeMember(InvokeMemberBinder binder, DynamicMetaObject[] args)
 {
     Requires.NotNull(binder, nameof(binder));
     return(binder.FallbackInvokeMember(UnwrapSelf(), args));
 }
Пример #2
0
 public override DynamicMetaObject BindSetMember(SetMemberBinder binder, DynamicMetaObject value)
 {
     Requires.NotNull(binder, nameof(binder));
     return(binder.FallbackSetMember(UnwrapSelf(), value));
 }
Пример #3
0
 public override DynamicMetaObject BindSetIndex(SetIndexBinder binder, DynamicMetaObject[] indexes, DynamicMetaObject value)
 {
     Requires.NotNull(binder, nameof(binder));
     return(binder.FallbackSetIndex(UnwrapSelf(), indexes, value));
 }
Пример #4
0
 public override DynamicMetaObject BindGetMember(GetMemberBinder binder)
 {
     Requires.NotNull(binder, nameof(binder));
     return(binder.FallbackGetMember(UnwrapSelf()));
 }
Пример #5
0
 public override DynamicMetaObject BindSetIndex(SetIndexBinder binder, DynamicMetaObject[] indexes, DynamicMetaObject value)
 {
     Requires.NotNull(binder);
     return(binder.Defer(WrapSelf(), indexes.AddLast(value)));
 }
Пример #6
0
 public override DynamicMetaObject BindGetIndex(GetIndexBinder binder, DynamicMetaObject[] indexes)
 {
     Requires.NotNull(binder);
     return(binder.Defer(WrapSelf(), indexes));
 }
Пример #7
0
 public override DynamicMetaObject BindSetMember(SetMemberBinder binder, DynamicMetaObject value)
 {
     Requires.NotNull(binder);
     return(binder.Defer(WrapSelf(), value));
 }
Пример #8
0
 public override DynamicMetaObject BindGetMember(GetMemberBinder binder)
 {
     Requires.NotNull(binder);
     return(binder.Defer(WrapSelf()));
 }
Пример #9
0
 public override DynamicMetaObject BindInvoke(InvokeBinder binder, DynamicMetaObject[] args)
 {
     Requires.NotNull(binder);
     return(binder.Defer(args.AddFirst(WrapSelf())));
 }