Interface IBindingTargetFactory
Defines methods to create/configure the binding targets defined by EnableBinding
Namespace: Steeltoe.Stream.Binding
Assembly: Steeltoe.Stream.Abstractions.dll
Syntax
public interface IBindingTargetFactory
Methods
| Edit this page View SourceCanCreate(Type)
Checks whether a specific binding target type can be created by this factory.
Declaration
bool CanCreate(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | the binding target type |
Returns
Type | Description |
---|---|
System.Boolean | true if binding target can be created |
CreateInput(String)
Create an input binding target that will be bound via a corresponding Binder
Declaration
object CreateInput(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | the name of the binding target |
Returns
Type | Description |
---|---|
System.Object | the binding target |
CreateOutput(String)
Create an output binding target that will be bound via a corresponding Binder
Declaration
object CreateOutput(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | the name of the binding target |
Returns
Type | Description |
---|---|
System.Object | the binding target |