Beispiel #1
0
        public sealed override MetaObject Bind(MetaObject target, MetaObject[] args)
        {
            ContractUtils.RequiresNotNull(target, "target");
            ContractUtils.RequiresNotNullItems(args, "args");

            return(target.BindGetIndex(this, args));
        }
Beispiel #2
0
 public static bool TryBindGetIndex(GetIndexBinder binder, ref MetaObject instance, MetaObject[] args) {
     if (TryGetMetaObject(ref instance)) {
         instance = instance.BindGetIndex(binder, args);
         return true;
     }
     return false;
 }
Beispiel #3
0
        public sealed override MetaObject Bind(MetaObject target, MetaObject[] args) {
            ContractUtils.RequiresNotNull(target, "target");
            ContractUtils.RequiresNotNullItems(args, "args");

            return target.BindGetIndex(this, args);
        }