Class InstallerHelper
- Namespace
- StockSharp.Installer
- Assembly
- StockSharp.Installer.dll
public static class InstallerHelper
- Inheritance
-
InstallerHelper
- Inherited Members
Methods
CanPublish(ProductContentTypes2)
public static bool CanPublish(this ProductContentTypes2 ct)
Parameters
ct
ProductContentTypes2
Returns
CheckDirContainFiles(string)
public static bool CheckDirContainFiles(string path)
Parameters
path
string
Returns
CheckDirContainsAnything(string)
public static bool CheckDirContainsAnything(string path)
Parameters
path
string
Returns
CheckPathsEqual(string, string)
Compare paths.
public static bool CheckPathsEqual(string path1, string path2)
Parameters
Returns
CreateServices(ILogReceiver, bool)
Initialize installer services.
public static void CreateServices(ILogReceiver rootLogger, bool isConsole)
Parameters
rootLogger
ILogReceiverisConsole
bool
DeinitServicesAsync()
Deinitialize installer services.
public static Task DeinitServicesAsync()
Returns
EnumerateFiles(string, Func<FileInfo, string, bool>, Func<string, bool>)
public static IEnumerable<(string subdir, FileInfo file)> EnumerateFiles(string directory, Func<FileInfo, string, bool> includeFile = null, Func<string, bool> includeSubdir = null)
Parameters
Returns
GetCategoryName(long, long)
public static string GetCategoryName(this long catId, long domainId)
Parameters
Returns
Increment(NuGetVersion)
public static NuGetVersion Increment(this NuGetVersion version)
Parameters
version
NuGetVersion
Returns
- NuGetVersion
IsDesignerSchema(ProductContentTypes2)
public static bool IsDesignerSchema(this ProductContentTypes2 ct)
Parameters
ct
ProductContentTypes2
Returns
IsFileLocked(string)
public static bool IsFileLocked(string path)
Parameters
path
string
Returns
IsFolderPublish(ProductContentTypes2)
public static bool IsFolderPublish(this ProductContentTypes2 ct)
Parameters
ct
ProductContentTypes2
Returns
IsProjectPublish(ProductContentTypes2)
public static bool IsProjectPublish(this ProductContentTypes2 ct)
Parameters
ct
ProductContentTypes2
Returns
IsValidWebLink(string)
public static bool IsValidWebLink(this string link)
Parameters
link
string
Returns
IsWebLink(Uri)
public static bool IsWebLink(this Uri uri)
Parameters
uri
Uri
Returns
NormalizePath(string, CultureInfo)
Normalize path for comparison.
public static string NormalizePath(this string path, CultureInfo culture = null)
Parameters
path
stringculture
CultureInfo
Returns
NormalizePathNoLowercase(string)
Normalize path for comparison (without case change).
public static string NormalizePathNoLowercase(this string path)
Parameters
path
string
Returns
PackageIdEqual(string, string)
Compare package ids.
public static bool PackageIdEqual(this string packageId, string otherPackageId)
Parameters
Returns
ParsePackageIdentity(string)
public static PackageIdentity ParsePackageIdentity(this string pi)
Parameters
pi
string
Returns
- PackageIdentity
SerializePackageIdentity(PackageIdentity)
public static string SerializePackageIdentity(this PackageIdentity pi)
Parameters
pi
PackageIdentity
Returns
StartServices()
Start installer services.
public static void StartServices()
UnStubPackageId(string)
Remove stub suffix from package id.
public static string UnStubPackageId(this string packageId)
Parameters
packageId
string
Returns
UnwrapExceptions(Exception)
public static IEnumerable<Exception> UnwrapExceptions(this Exception exception)
Parameters
exception
Exception