An object responsible for building an IMemberBindingBehaviour for instances of the type
public interface IMemberBindingBehaviourBuilder<TInstance>
The type of object for which a member binding behaviour is to be built.
This interface is part of a fluent API which drastically simplifies the way in which you can configure custom member bindings for objects of different types. The For<TInstance>() method is the easiest way to get an instance of this to work with.
Methods| Improve this Doc View Source
Adds a member binding to the builder - the
memberBindingExpression identifies the member to
be built. The returned MemberBindingBuilder<TInstance, TMember> can then be used to customise
how the member will be bound.
MemberBindingBuilder<TInstance, TMember> Bind<TMember>(Expression<Func<TInstance, TMember>> memberBindingExpression)
An expression which identifies the member to be bound. The expression must be a direct member access, otherwise an ArgumentException will be thrown.
The type of member to be bound.
Builds an IMemberBindingBehaviour which, when applied to the object produced by a ConstructorTarget, will bind the members of the new instance according to the way it has been configured through calls to the Bind<TMember>(Expression<Func<TInstance, TMember>>) method.