Paths
System paths.
プロパティ
AppNameWithVersion : string
App title with version.
BuildVersion : string
Build info version.
EntryAssembly : Assembly
Entry assembly.
InstalledVersion : string
Installed version of the product.
メソッド
CreateSerializer``1(bool)
Create serializer.
- bom
- Serializer adds UTF8 BOM preamble.
戻り値: Serializer.
DeserializeAsync``1(string, IFileSystem, CancellationToken)
Deserialize value from the specified file.
- filePath
- File path.
- fileSystem
- File system.
- cancellationToken
- CancellationToken
戻り値: Value.
DeserializeAsync``1(string, CancellationToken)
Deserialize value from the specified file.
- filePath
- File path.
- cancellationToken
- CancellationToken
戻り値: Value.
DeserializeOrThrowAsync``1(string, IFileSystem, CancellationToken)
Deserialize value from the specified file.
- filePath
- File path.
- fileSystem
- File system.
- cancellationToken
- CancellationToken
戻り値: Value.
DeserializeOrThrowAsync``1(string, CancellationToken)
Deserialize value from the specified file.
- filePath
- File path.
- cancellationToken
- CancellationToken
戻り値: Value.
DeserializeOrThrow``1(string, IFileSystem)
Deserialize value from the specified file.
- filePath
- File path.
- fileSystem
- File system.
戻り値: Value.
DeserializeOrThrow``1(string)
Deserialize value from the specified file.
- filePath
- File path.
戻り値: Value.
Deserialize``1(string, IFileSystem)
Deserialize value from the specified file.
- filePath
- File path.
- fileSystem
- File system.
戻り値: Value.
Deserialize``1(Stream)
Deserialize value from the serialized data.
- data
- Serialized data.
戻り値: Value.
Deserialize``1(byte[])
Deserialize value from the serialized data.
- data
- Serialized data.
戻り値: 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.
戻り値: 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.
戻り値: Files.
GetAppDataPath(string, string) : string
Get AppDataPath.
- appDataPath
- Relative AppDataPath.
- appName
- AppName2
戻り値: AppDataPath
GetFileNameWithoutExtension(Guid, char?) : string
Get file name without extension for the specified id.
- id
- Identifier.
- by
- Replacing character.
戻り値: File name without extension.
GetHistoryDataPath(string) : string
Get history data path.
- startDir
- Directory.
戻り値: History data path.
GetNuGetGlobalPackagesFolder() : string
Get NuGet global packages folder path.
戻り値: Path to NuGet global packages folder.
GetPageUrl(long, object) : string
Get page url.
- id
- Page id.
- urlPart
- Url part (topic id, file name etc.).
戻り値: Localized url.
IsConfigExists(string, IFileSystem) : bool
Determines the specified config file exists.
- configFile
- Config file.
- fileSystem
- File system.
戻り値: Check result.
IsConfigExists(string) : bool
Determines the specified config file exists.
- configFile
- Config file.
戻り値: Check result.
MakeBackup(string) : string
Make the specified with Backup extension.
- filePath
- File path.
戻り値: 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.
戻り値: 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.
戻り値: Serialized data.
TryBuildDocUrl(string) : string
Try to build documentation URL.
- urlPart
- URL part.
戻り値: Absolute URL.
TryGetInstalledPath(long, IFileSystem) : string
Try get installed path by product id.
- productId
- Identifier.
- fileSystem
- File system.
戻り値: Installed path.
TryGetInstalledVersion(string, IFileSystem) : string
Get currently installed version of the product.
- productInstallPath
- File system path to product installation.
- fileSystem
- File system.
戻り値: Installed version of the product.
フィールド
AppDataPath : string
The path to the settings directory.
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.
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.
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.