OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class DataStoreCreationParameters

Parameters for creating a new data store.

Inheritance
System.Object
DataStoreCreationParameters
Namespace: OpenMod.API.Persistence
Assembly: OpenMod.API.dll
Syntax
public class DataStoreCreationParameters : object

Properties

| Improve this Doc View Source

Component

Gets or sets the owning component. Must not be null if ComponentId is not set.

Declaration
public IOpenModComponent Component { get; set; }
Property Value
Type Description
IOpenModComponent
| Improve this Doc View Source

ComponentId

Gets or sets the owning component id. Must not be null if Component is not set.

Declaration
public string? ComponentId { get; set; }
Property Value
Type Description
System.Nullable<System.String>
Remarks

Obsolete: Use Component instead.

| Improve this Doc View Source

LogOnChange

Defines if detected file changes should be logged.

Declaration
public bool LogOnChange { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Prefix

Gets or sets the prefix.

Declaration
public string? Prefix { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

Suffix

Gets or sets the suffix.

Declaration
public string? Suffix { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

WorkingDirectory

Gets or sets the working directory.

Declaration
public string WorkingDirectory { get; set; }
Property Value
Type Description
System.String

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)