Archetype.MetaObjects.DelegatingMetaObject.BindCreateInstance C# (CSharp) Method

BindCreateInstance() public method

Performs the binding of the dynamic create instance operation.
public BindCreateInstance ( CreateInstanceBinder binder, DynamicMetaObject args ) : DynamicMetaObject
binder System.Dynamic.CreateInstanceBinder /// An instance of the that represents the details of the dynamic operation. ///
args System.Dynamic.DynamicMetaObject /// An array of instances - arguments to the create instance operation. ///
return System.Dynamic.DynamicMetaObject
        public override DynamicMetaObject BindCreateInstance( CreateInstanceBinder binder, DynamicMetaObject[] args )
        {
            return ApplyBinding( meta => meta.BindCreateInstance( binder, args ),
                                 ( target, errorSuggestion ) =>
                                 binder.FallbackCreateInstance( target, args, errorSuggestion ) );
        }