Interface IBindingTargetFactory
Defines methods to create/configure the binding targets defined by EnableBinding
public interface IBindingTargetFactory
Methods
CanCreate(Type)
Checks whether a specific binding target type can be created by this factory.
bool CanCreate(Type type)
Parameters
type
Typethe binding target type
Returns
- bool
true if binding target can be created
CreateInput(string)
Create an input binding target that will be bound via a corresponding Binder
object CreateInput(string name)
Parameters
name
stringthe name of the binding target
Returns
- object
the binding target
CreateOutput(string)
Create an output binding target that will be bound via a corresponding Binder
object CreateOutput(string name)
Parameters
name
stringthe name of the binding target
Returns
- object
the binding target