Interface IStorageServiceFactory
Defines the interface for an storage service factory
Namespace: DNVGL.One.Compute.StorageLibrary.Factory
Assembly: DNVGL.One.Compute.StorageLibrary.dll
Syntax
public interface IStorageServiceFactory
Methods
View SourceCreateJobPropertiesService(String)
Will return an instance of the job properties storage service IJobPropertiesService based upon the supplied connection string
Declaration
IJobPropertiesService CreateJobPropertiesService(string storageConnectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | storageConnectionString | The storage connection string. |
Returns
| Type | Description |
|---|---|
| IJobPropertiesService | A job properties storage service instance. |
CreateJobStatusService(String)
Will return an instance of the job status storage service IJobStatusService based upon the supplied connection string
Declaration
IJobStatusService CreateJobStatusService(string storageConnectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | storageConnectionString | The connection string to the storage data source |
Returns
| Type | Description |
|---|---|
| IJobStatusService | A job status storage service instance. |
CreateResultStorageService(String)
Will return an instance of the result storage service IFlowModelStorageService<T> based upon the supplied connection string
Declaration
IFlowModelStorageService<Result> CreateResultStorageService(string storageConnectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | storageConnectionString | The connection string to the storage data source |
Returns
| Type | Description |
|---|---|
| IFlowModelStorageService<Result> | A results storage service instance. |
CreateWorkItemStatusService(String)
Will return an instance of the work item status storage service IWorkItemStatusService based upon the supplied connection string
Declaration
IWorkItemStatusService CreateWorkItemStatusService(string storageConnectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | storageConnectionString | The connection string to the storage data source |
Returns
| Type | Description |
|---|---|
| IWorkItemStatusService | A work item status storage service instance. |
CreateWorkItemStorageService(String)
Will return an instance of the work item storage service IFlowModelStorageService<T> based upon the supplied connection string
Declaration
IFlowModelStorageService<WorkItem> CreateWorkItemStorageService(string storageConnectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | storageConnectionString | The connection string to the storage data source |
Returns
| Type | Description |
|---|---|
| IFlowModelStorageService<WorkItem> | A work item storage service instance. |