Class DefaultBinding<T>
Inheritance
System.Object
DefaultBinding<T>
Assembly: Steeltoe.Stream.StreamBase.dll
Syntax
public class DefaultBinding<T> : AbstractBinding, IBinding, IPausable
Type Parameters
Constructors
|
Edit this page
View Source
DefaultBinding(String, T, ILifecycle)
Declaration
public DefaultBinding(string name, T target, ILifecycle lifecycle)
Parameters
Type |
Name |
Description |
System.String |
name |
|
T |
target |
|
ILifecycle |
lifecycle |
|
|
Edit this page
View Source
DefaultBinding(String, String, T, ILifecycle)
Declaration
public DefaultBinding(string name, string group, T target, ILifecycle lifecycle)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
group |
|
T |
target |
|
ILifecycle |
lifecycle |
|
Fields
|
Edit this page
View Source
_lifecycle
Declaration
protected readonly ILifecycle _lifecycle
Field Value
Type |
Description |
ILifecycle |
|
|
Edit this page
View Source
_target
Declaration
protected readonly T _target
Field Value
Properties
|
Edit this page
View Source
BindingName
Declaration
public override string BindingName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
|
Edit this page
View Source
Endpoint
Declaration
protected virtual ILifecycle Endpoint { get; }
Property Value
Type |
Description |
ILifecycle |
|
|
Edit this page
View Source
Group
Declaration
public virtual string Group { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
IsPausable
Declaration
public virtual bool IsPausable { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsRunning
Declaration
public override bool IsRunning { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Edit this page
View Source
Name
Declaration
public override string Name { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
|
Edit this page
View Source
State
Declaration
public virtual string State { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Edit this page
View Source
AfterUnbind()
Declaration
protected virtual void AfterUnbind()
|
Edit this page
View Source
Pause()
Declaration
public override async Task Pause()
Returns
Overrides
|
Edit this page
View Source
Resume()
Declaration
public override async Task Resume()
Returns
Overrides
|
Edit this page
View Source
Start()
Declaration
public override Task Start()
Returns
Overrides
|
Edit this page
View Source
Stop()
Declaration
public override Task Stop()
Returns
Overrides
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
Unbind()
Declaration
public override async Task Unbind()
Returns
Overrides
Implements
ILifecycle