Table of Contents

Class ServicePath

Namespace
StockSharp.Server.Utils
Assembly
StockSharp.Server.Utils.dll

Services IO utils.

public static class ServicePath
Inheritance
ServicePath
Inherited Members

Properties

DataDir

Get path to Data directory.

public static string DataDir { get; }

Property Value

string

ServiceDir

Current service directory.

public static string ServiceDir { get; }

Property Value

string

Methods

CreateLogManager(ILogger, string, LogLevels)

public static LogManager CreateLogManager(this ILogger logger, string dataDir, LogLevels defaultLevel)

Parameters

logger ILogger
dataDir string
defaultLevel LogLevels

Returns

LogManager

Restart()

Restart service.

public static void Restart()