System.Dynamic.DynamicMetaObject.BindDeleteIndex C# (CSharp) Method

BindDeleteIndex() public method

Performs the binding of the dynamic delete index operation.
public BindDeleteIndex ( DeleteIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
binder DeleteIndexBinder An instance of the that represents the details of the dynamic operation.
indexes DynamicMetaObject An array of instances - indexes for the delete index operation.
return DynamicMetaObject
        public virtual DynamicMetaObject BindDeleteIndex(DeleteIndexBinder binder, DynamicMetaObject[] indexes)
        {
            ContractUtils.RequiresNotNull(binder, nameof(binder));
            return binder.FallbackDeleteIndex(this, indexes);
        }

Usage Example

Example #1
0
        /// <summary>
        /// Performs the binding of the dynamic delete index operation.
        /// </summary>
        /// <param name="target">The target of the dynamic delete index operation.</param>
        /// <param name="args">An array of arguments of the dynamic delete index operation.</param>
        /// <returns>The <see cref="DynamicMetaObject"/> representing the result of the binding.</returns>
        public sealed override DynamicMetaObject Bind(DynamicMetaObject target, DynamicMetaObject[] args)
        {
            ContractUtils.RequiresNotNull(target, nameof(target));
            ContractUtils.RequiresNotNullItems(args, nameof(args));

            return target.BindDeleteIndex(this, args);
        }
All Usage Examples Of System.Dynamic.DynamicMetaObject::BindDeleteIndex