Class DefaultBinding<T>
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class DefaultBinding<T> : AbstractBinding, IBinding, IPausable, ILifecycleType Parameters
- T
- Inheritance
- 
      
      
      DefaultBinding<T>
- Implements
- Derived
- Inherited Members
Constructors
DefaultBinding(string, string, T, ILifecycle)
public DefaultBinding(string name, string group, T target, ILifecycle lifecycle)Parameters
- namestring
- groupstring
- targetT
- lifecycleILifecycle
DefaultBinding(string, T, ILifecycle)
public DefaultBinding(string name, T target, ILifecycle lifecycle)Parameters
- namestring
- targetT
- lifecycleILifecycle
Fields
_lifecycle
protected readonly ILifecycle _lifecycleField Value
_target
protected readonly T _targetField Value
- T
Properties
BindingName
Gets the name of the target for this binding (i.e., channel name).
public override string BindingName { get; }Property Value
Endpoint
protected virtual ILifecycle Endpoint { get; }Property Value
Group
public virtual string Group { get; }Property Value
IsPausable
public virtual bool IsPausable { get; }Property Value
IsRunning
Gets a value indicating whether gets a value indicating if its running
public override bool IsRunning { get; }Property Value
Name
Gets the name of the destination for this binding.
public override string Name { get; }Property Value
State
public virtual string State { get; }Property Value
Methods
AfterUnbind()
protected virtual void AfterUnbind()Pause()
public override Task Pause()Returns
Resume()
public override Task Resume()Returns
Start()
Start this component
public override Task Start()Returns
- Task
- a task to signal completion 
Stop()
Stop this component
public override Task Stop()Returns
- Task
- a task to signal completion 
ToString()
Returns a string that represents the current object.
public override string ToString()Returns
- string
- A string that represents the current object. 
Unbind()
Unbinds the target component represented by this instance and stops any active components
public override Task Unbind()Returns
- Task
- task to signal results