public Builder WithBindValue(BindValueAttribute attr) { constructed.ReturnValueAttribute = attr; return(this); }
public static TMarshal BindToWire <TMarshal>(this IBinder <TMarshal> @this, object value, BindValueAttribute bindValue) { var ctx = new BindingContext <TMarshal>(ObjectBindingDirection.Out, @this.Binder) { ObjectValue = value, BindValue = bindValue }; @this.Binder(ctx); return(ctx.NativeValue); }