Class StorageFactory
The storage factory.
Inheritance
System.Object
StorageFactory
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: Bayat.SaveSystem.Storage
Assembly: Bayat.SaveSystem.Runtime.dll
Syntax
public sealed class StorageFactory
Fields
| Improve this Doc View SourceInstance
The singleton instance of factory.
Declaration
public static readonly StorageFactory Instance
Field Value
Type | Description |
---|---|
StorageFactory |
Properties
| Improve this Doc View SourceDefaultStorage
The default storage implementation of this platform.
Declaration
public static IStorage DefaultStorage { get; }
Property Value
Type | Description |
---|---|
IStorage |
Methods
| Improve this Doc View SourceFromConnectionString(String)
Initializes a new instance of IStorage implementation by using the specified connection string.
Declaration
public static IStorage FromConnectionString(string connectionString)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | The connection string |
Returns
Type | Description |
---|---|
IStorage | A new instance of IStorage implementation |