Table of Contents

Class InvariantCultureSerializer

Namespace
StockSharp.Configuration
Assembly
StockSharp.Configuration.dll

Invariant culture Ecng.Serialization.ISerializer.

public static class InvariantCultureSerializer
Inheritance
InvariantCultureSerializer
Inherited Members

Methods

DeserializeInvariant(byte[])

Deserialize storage from the specified byte array.

public static SettingsStorage DeserializeInvariant(this byte[] data)

Parameters

data byte[]

Data.

Returns

SettingsStorage

Ecng.Serialization.SettingsStorage

DeserializeInvariant(string)

Deserialize storage from the specified file.

public static SettingsStorage DeserializeInvariant(this string fileName)

Parameters

fileName string

File name.

Returns

SettingsStorage

Ecng.Serialization.SettingsStorage

DeserializeInvariant<T>(string)

Deserialize storage from the specified file.

public static T DeserializeInvariant<T>(this string fileName)

Parameters

fileName string

File name.

Returns

T

T

Type Parameters

T

Type implemented Ecng.Serialization.IPersistable.

SerializeInvariant(IPersistable, bool)

Serialize the specified storage into byte array.

public static byte[] SerializeInvariant(this IPersistable settings, bool bom = true)

Parameters

settings IPersistable

Ecng.Serialization.IPersistable

bom bool

Add UTF8 BOM preamble.

Returns

byte[]

SerializeInvariant(SettingsStorage, bool)

Serialize the specified storage into byte array.

public static byte[] SerializeInvariant(this SettingsStorage settings, bool bom = true)

Parameters

settings SettingsStorage

Ecng.Serialization.SettingsStorage

bom bool

Add UTF8 BOM preamble.

Returns

byte[]

SerializeInvariant(SettingsStorage, string, bool)

Serialize the specified storage into file.

public static void SerializeInvariant(this SettingsStorage settings, string fileName, bool bom = true)

Parameters

settings SettingsStorage

Ecng.Serialization.SettingsStorage

fileName string

File name.

bom bool

Add UTF8 BOM preamble.