Paths

StockSharp.Configuration

System paths.

Eigenschaften

AppNameWithVersion : string

App title with version.

Bot : string

Bot in Telegram.

BuildVersion : string

Build info version.

Chat : string

Chat in Telegram.

Domain : string

Web site domain.

EntryAssembly : Assembly

Entry assembly.

InstalledVersion : string

Installed version of the product.

Methoden

CreateSerializer``1(bool)

Create serializer.

bom
Serializer adds UTF8 BOM preamble.

Rückgabe: Serializer.

DeserializeAsync``1(string, IFileSystem, CancellationToken)

Deserialize value from the specified file.

filePath
File path.
fileSystem
File system.
cancellationToken
CancellationToken

Rückgabe: Value.

DeserializeAsync``1(string, CancellationToken)

Deserialize value from the specified file.

filePath
File path.
cancellationToken
CancellationToken

Rückgabe: Value.

DeserializeFromString``1(T, string)

Deserialize state from .

value
Value.
str
String value.
DeserializeOrThrowAsync``1(string, IFileSystem, CancellationToken)

Deserialize value from the specified file.

filePath
File path.
fileSystem
File system.
cancellationToken
CancellationToken

Rückgabe: Value.

DeserializeOrThrowAsync``1(string, CancellationToken)

Deserialize value from the specified file.

filePath
File path.
cancellationToken
CancellationToken

Rückgabe: Value.

DeserializeOrThrow``1(string, IFileSystem)

Deserialize value from the specified file.

filePath
File path.
fileSystem
File system.

Rückgabe: Value.

DeserializeOrThrow``1(string)

Deserialize value from the specified file.

filePath
File path.

Rückgabe: Value.

Deserialize``1(string, IFileSystem)

Deserialize value from the specified file.

filePath
File path.
fileSystem
File system.

Rückgabe: Value.

Deserialize``1(Stream)

Deserialize value from the serialized data.

data
Serialized data.

Rückgabe: Value.

Deserialize``1(string)

Deserialize value from the specified file.

filePath
File path.

Rückgabe: Value.

Deserialize``1(byte[])

Deserialize value from the serialized data.

data
Serialized data.

Rückgabe: Value.

EnumerateConfigs(string, string) : IEnumerable<string>

Returns an files with DefaultSettingsExt extension.

path
The relative or absolute path to the directory to search.
filter
The search string to match against the names of files in path.

Rückgabe: Files.

EnumerateConfigs(string, IFileSystem, string) : IEnumerable<string>

Returns an files with DefaultSettingsExt extension.

path
The relative or absolute path to the directory to search.
fileSystem
File system.
filter
The search string to match against the names of files in path.

Rückgabe: Files.

GetAppDataPath(string, string) : string

Get AppDataPath.

appDataPath
Relative AppDataPath.
appName
AppName2

Rückgabe: AppDataPath

GetDocUrl(string) : string

To create localized url.

docUrl
Help topic.

Rückgabe: Localized url.

GetFileName(Guid) : string

Get file name for the specified id.

id
Identifier.

Rückgabe: File name.

GetFileNameWithoutExtension(Guid, char?) : string

Get file name without extension for the specified id.

id
Identifier.
by
Replacing character.

Rückgabe: File name without extension.

GetHistoryDataPath(string) : string

Get history data path.

startDir
Directory.

Rückgabe: History data path.

GetLogoUrl() : string

Get logo url.

Rückgabe: Logo url.

GetNuGetGlobalPackagesFolder() : string

Get NuGet global packages folder path.

Rückgabe: Path to NuGet global packages folder.

GetPageUrl(long, object) : string

Get page url.

id
Page id.
urlPart
Url part (topic id, file name etc.).

Rückgabe: Localized url.

GetWebSiteUrl() : string

Get website url.

Rückgabe: Localized url.

IsConfigExists(string, IFileSystem) : bool

Determines the specified config file exists.

configFile
Config file.
fileSystem
File system.

Rückgabe: Check result.

IsConfigExists(string) : bool

Determines the specified config file exists.

configFile
Config file.

Rückgabe: Check result.

MakeBackup(string) : string

Make the specified with Backup extension.

filePath
File path.

Rückgabe: File path.

MoveToBackup(string, IFileSystem, string)

Rename the specified file with Backup extension.

filePath
File path.
fileSystem
File system.
backupFilePath
Backup file path.
ResetInstalledVersionCache()

Reset installed version cache so it would be re-generated next time when it's requested.

SerializeToString``1(T, bool)

Serialize state into String value.

value
Value.
bom
Serializer adds UTF8 BOM preamble.

Rückgabe: String value.

Serialize``1(T, string, bool)

Serialize value into the specified file.

value
Value.
filePath
File path.
bom
Add UTF8 BOM preamble.
Serialize``1(T, IFileSystem, string, bool)

Serialize value into the specified file.

value
Value.
fileSystem
File system.
filePath
File path.
bom
Add UTF8 BOM preamble.
Serialize``1(T, bool)

Serialize value into byte array.

value
Value.
bom
Add UTF8 BOM preamble.

Rückgabe: Serialized data.

TryBuildDocUrl(string) : string

Try to build documentation URL.

urlPart
URL part.

Rückgabe: Absolute URL.

TryGetInstalledPath(long, IFileSystem) : string

Try get installed path by product id.

productId
Identifier.
fileSystem
File system.

Rückgabe: Installed path.

TryGetInstalledVersion(string, IFileSystem) : string

Get currently installed version of the product.

productInstallPath
File system path to product installation.
fileSystem
File system.

Rückgabe: Installed version of the product.

Felder

AppDataPath : string

The path to the settings directory.

AppName : string

App title.

Birthday : DateTime

Birthday.

CandlePatternsFile : string

The path to the file with candle patterns.

CompanyPath : string

The path to directory with all applications.

CompilerCacheDir : string

The path to the compiler cache directory.

CredentialsFile : string

The path to the file with credentials.

DefaultSettingsExt : string

Default extension for settings file.

FileSystem : IFileSystem

Default file system.

HistoryBeginDate : DateTime

Begin date of HistoryDataPath.

HistoryDataPath : string

Sample history data.

HistoryDefaultSecurity : string

Sample history data security.

HistoryDefaultSecurity2 : string

Sample history data security.

HistoryEndDate : DateTime

End date of HistoryDataPath.

InstallerConsoleName : string

Installer console exe name.

InstallerDir : string

The path to the installer directory.

InstallerInstallationsConfigPath : string

The path to the installer directory.

InstallerUIName : string

Installer UI exe name.

LogsDir : string

The path to the logs directory.

PlatformConfigurationFile : string

The path to the configuration file of platform definition.

ProxyConfigurationFile : string

The path to the configuration file of proxy settings.

PythonUtilsPath : string

The path to the Python utils directory.

ReportLogsPath : string

The path to the settings directory.

SecurityExtendedInfo : string

The path to the directory with securities extended info.

SecurityMappingDir : string

The path to the directory with securities id mapping.

SecurityNativeIdDir : string

The path to the directory with native security identifiers.

SetupName : string

Setup name.

SnapshotsDir : string

The path to the directory with snapshots of market data.

StorageDir : string

The path to the directory with market data.

TokenBasedEmail : string

Email in case Token.