Table of Contents

Interface IBindingTargetFactory

Namespace
Steeltoe.Stream.Binding
Assembly
Steeltoe.Stream.Abstractions.dll

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 Type

the 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 string

the 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 string

the name of the binding target

Returns

object

the binding target