Table of Contents

Class StorageOptions

Namespace
JobFlow.Core.Infrastructure.Storage
Assembly
JobFlow.Core.dll

Base class for storage options.

public class StorageOptions
Inheritance
StorageOptions
Derived
Extension Methods

Constructors

StorageOptions()

public StorageOptions()

Properties

ConnectionString

Connection string. Set by the system.

public string ConnectionString { get; }

Property Value

string

ConnectionStringName

Name of the connection string for this storage.

public string ConnectionStringName { get; set; }

Property Value

string

Type

Storage type. (e.g. "Redis" or "AzureStorage")

public string Type { get; set; }

Property Value

string

Remarks

This defaults to the name of the storage. For example:

"AZ1": {
    "Type": "AzureStorage",
    "ConnectionStringName": "AzureStorage"
},
"Redis": {
    "TTL": "00:10:00"
}

The "AZ1" storage has the "AzureStorage" type defined. However, for the "Redis" configuration, a Type of "Redis" is used.