Class AppConfigHelper
Inheritance
AppConfigHelper
Assembly: Acoustics.Shared.dll
Syntax
public static class AppConfigHelper
Fields
|
Improve this Doc
View Source
DefaultTargetSampleRate
Declaration
public const int DefaultTargetSampleRate = 22050
Field Value
|
Improve this Doc
View Source
Warning: do not use this format to print dates as strings - it will include a colon in the time zone offset :-(.
Declaration
public const string Iso8601FileCompatibleDateFormat = "yyyyMMddTHHmmsszzz"
Field Value
|
Improve this Doc
View Source
Declaration
public const string Iso8601FileCompatibleDateFormatUtcWithFractionalSeconds = "yyyyMMddTHHmmss.FFF\\Z"
Field Value
|
Improve this Doc
View Source
Declaration
public const string Iso8601FormatNoFractionalSeconds = "yyyy-MM-ddTHH:mm:sszzz"
Field Value
|
Improve this Doc
View Source
LinuxArm
Declaration
public const string LinuxArm = "linux-arm"
Field Value
|
Improve this Doc
View Source
LinuxArm64
Declaration
public const string LinuxArm64 = "linux-arm64"
Field Value
|
Improve this Doc
View Source
LinuxMuslX64
Declaration
public const string LinuxMuslX64 = "linux-musl-x64"
Field Value
|
Improve this Doc
View Source
LinuxX64
Declaration
public const string LinuxX64 = "linux-x64"
Field Value
|
Improve this Doc
View Source
OsxX64
Declaration
public const string OsxX64 = "osx-x64"
Field Value
|
Improve this Doc
View Source
Declaration
public const string RenderedDateFormatShort = "yyyy-MM-dd HH:mm"
Field Value
|
Improve this Doc
View Source
Declaration
public const string StandardDateFormat = "yyyyMMdd-HHmmsszzz"
Field Value
|
Improve this Doc
View Source
Declaration
public const string StandardDateFormatNoTimeZone = "yyyyMMdd-HHmmss"
Field Value
|
Improve this Doc
View Source
Declaration
public const string StandardDateFormatSm2 = "yyyyMMdd_HHmmss"
Field Value
|
Improve this Doc
View Source
Declaration
public const string StandardDateFormatUnderscore = "yyyyMMdd_HHmmsszzz"
Field Value
|
Improve this Doc
View Source
Declaration
public const string StandardDateFormatUtc = "yyyyMMdd-HHmmssZ"
Field Value
|
Improve this Doc
View Source
Declaration
public const string StandardDateFormatUtcWithFractionalSeconds = "yyyyMMdd-HHmmss.FFFZ"
Field Value
|
Improve this Doc
View Source
WasBuiltAgainstMusl
Declaration
public const bool WasBuiltAgainstMusl = false
Field Value
|
Improve this Doc
View Source
WellKnownRuntimeIdentifiers
Declaration
public static readonly IImmutableSet<string> WellKnownRuntimeIdentifiers
Field Value
|
Improve this Doc
View Source
WinArm64
Declaration
public const string WinArm64 = "win-arm64"
Field Value
|
Improve this Doc
View Source
WinX64
Declaration
public const string WinX64 = "win-x64"
Field Value
Properties
|
Improve this Doc
View Source
ExecutingAssemblyDirectory
Declaration
public static string ExecutingAssemblyDirectory { get; }
Property Value
|
Improve this Doc
View Source
FfmpegExe
Declaration
public static string FfmpegExe { get; }
Property Value
|
Improve this Doc
View Source
FfprobeExe
Declaration
public static string FfprobeExe { get; }
Property Value
|
Improve this Doc
View Source
IsLinux
Gets a value indicating whether the current operating system is a linux variant.
Note: this property actually tests what operating system we're using, unlike
IsOSPlatform(OSPlatform) which uses values from the *build.
Declaration
public static bool IsLinux { get; }
Property Value
|
Improve this Doc
View Source
IsMacOsX
Gets a value indicating whether the current operating system is a OSX variant.
Note: this property actually tests what operating system we're using, unlike
IsOSPlatform(OSPlatform) which uses values from the *build.
Declaration
public static bool IsMacOsX { get; }
Property Value
|
Improve this Doc
View Source
IsMono
Gets a value indicating whether we are running on the Mono platform.
This should always be false.
Declaration
public static bool IsMono { get; }
Property Value
|
Improve this Doc
View Source
IsWindows
Gets a value indicating whether the current operating system is a Windows variant.
Note: this property actually tests what operating system we're using, unlike
IsOSPlatform(OSPlatform) which uses values from the *build.
Declaration
public static bool IsWindows { get; }
Property Value
|
Improve this Doc
View Source
PseudoRuntimeIdentifier
Gets a pseudo (fake) runtime identifier from the information available to us.
This value represents a *build time construct.
Declaration
public static string PseudoRuntimeIdentifier { get; }
Property Value
Type |
Description |
String |
An rid-like string.
|
|
Improve this Doc
View Source
RuntimeIdentifier
Gets the runtime identifier as defined by Microsoft.
Declaration
public static string RuntimeIdentifier { get; }
Property Value
Type |
Description |
String |
A runtime indentifier.
|
|
Improve this Doc
View Source
SoxExe
Declaration
public static string SoxExe { get; }
Property Value
|
Improve this Doc
View Source
WvunpackExe
Declaration
public static string WvunpackExe { get; }
Property Value