Interface IServiceInfoFactory
Namespace: Steeltoe.Connector.Services
Assembly: Steeltoe.Connector.Abstractions.dll
Syntax
public interface IServiceInfoFactory
Methods
| Edit this page View SourceAccepts(Service)
Check if this factory can create IServiceInfo from the given binding
Declaration
bool Accepts(Service binding)
Parameters
Type | Name | Description |
---|---|---|
Service | binding | A service binding to evaluate |
Returns
Type | Description |
---|---|
System.Boolean | Gets a value indicating whether or not the binding is compatible with this factory |
Create(Service)
Return service information from a service binding
Declaration
IServiceInfo Create(Service binding)
Parameters
Type | Name | Description |
---|---|---|
Service | binding | A service binding |
Returns
Type | Description |
---|---|
IServiceInfo | Relevant IServiceInfo |