Class ConnectorAdapter
Provides basic abstractions for vortex connectors.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Vortex.Connector
Assembly: Vortex.Connector.dll
Syntax
public class ConnectorAdapter
Constructors
ConnectorAdapter()
Create new instance of empty ConnectorAdapter
Declaration
public ConnectorAdapter()
ConnectorAdapter(Type)
Creates new instance of ConnectorAdapter for specific target controller type.
Declaration
public ConnectorAdapter(Type onlineAdapterType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | onlineAdapterType | Type of adapter |
Fields
_adapter
Declaration
IConnectorFactory _adapter
Field Value
Type | Description |
---|---|
IConnectorFactory |
Properties
Adapter
Get an instance of adapter stored in AdapterType property.
Declaration
public IConnectorFactory Adapter { get; }
Property Value
Type | Description |
---|---|
IConnectorFactory |
AdapterType
Gets or sets adapter type.
Declaration
protected Type AdapterType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
Parameters
Adapter's parameters.
Declaration
public object[] Parameters { get; protected set; }
Property Value
Type | Description |
---|---|
System.Object[] |
Methods
GetConnector(Object[])
Creates new instance of ConnectorAdapter.
Declaration
public IConnector GetConnector(object[] parameters)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | parameters | Connector parameters. |
Returns
Type | Description |
---|---|
IConnector |