Interface IMountedConfiguration
Describes a set of configuration needed to interpret events and data. Multiple sets of IMountedConfiguration are bound together onto a MountedSession to form a composite MAT.OCS.Configuration.Configuration.
Namespace: MESL.SqlRace.Domain.MountedSessions
Assembly: MESL.SqlRace.Domain.dll
Syntax
public interface IMountedConfiguration
Properties
Identifier
Globally-unique identifier for the configuration for reference when binding configuration.
Declaration
string Identifier { get; }
Property Value
Type | Description |
---|---|
System.String |
OwnerId
Owner id, if applicable.
Declaration
Nullable<uint> OwnerId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt32> |
Methods
AsFastConfiguration(out String, out Byte[])
Copies to a buffer as an FFC resource. This is a specific binary representation of configuration conform to the MAT.OCS.Configuration.Configuration API. Support for this representation is required for use with MountedSession.
Declaration
void AsFastConfiguration(out string hash, out byte[] fastConfigBuffer)
Parameters
Type | Name | Description |
---|---|---|
System.String | hash | Configuration hash (lower-case hex). |
System.Byte[] | fastConfigBuffer | Buffer containing the serialized configuration. |
Resolve()
Resolves the MAT.OCS.Configuration.Configuration, which may involve I/O and deserialization.
Declaration
Configuration Resolve()
Returns
Type | Description |
---|---|
MAT.OCS.Configuration.Configuration | Mounted MAT.OCS.Configuration.Configuration. |