Class AbstractBindingTargetFactory<T>
public abstract class AbstractBindingTargetFactory<T> : IBindingTargetFactory
Type Parameters
T
- Inheritance
-
AbstractBindingTargetFactory<T>
- Implements
- Derived
- Inherited Members
Constructors
AbstractBindingTargetFactory(IApplicationContext)
protected AbstractBindingTargetFactory(IApplicationContext context)
Parameters
context
IApplicationContext
Properties
ApplicationContext
public IApplicationContext ApplicationContext { get; }
Property Value
BindingTargetType
public Type BindingTargetType { get; }
Property Value
Methods
CanCreate(Type)
Checks whether a specific binding target type can be created by this factory.
public virtual bool CanCreate(Type type)
Parameters
type
Typethe binding target type
Returns
- bool
true if binding target can be created
CreateInput(string)
public abstract T CreateInput(string name)
Parameters
name
string
Returns
- T
CreateOutput(string)
public abstract T CreateOutput(string name)
Parameters
name
string
Returns
- T