Table of Contents

Class FormatExtensions

Namespace
StockSharp.Algo.Strategies.Reporting
Assembly
StockSharp.Algo.dll

Format extensions.

public static class FormatExtensions
Inheritance
FormatExtensions
Inherited Members

Methods

Format(DateTimeOffset)

To format the DateTimeOffset in string.

public static string Format(this DateTimeOffset time)

Parameters

time DateTimeOffset

DateTimeOffset value.

Returns

string

string.

Format(TimeSpan?)

To format the TimeSpan in string.

public static string Format(this TimeSpan? time)

Parameters

time TimeSpan?

TimeSpan value.

Returns

string

string.

Format(TimeSpan)

To format the TimeSpan in string.

public static string Format(this TimeSpan time)

Parameters

time TimeSpan

TimeSpan value.

Returns

string

string.