Show / Hide Table of Contents

Class Extensions

Расширения для StockSharp.Community.

Inheritance
Object
Extensions
Namespace: StockSharp.Community
Assembly: StockSharp.Community.dll
Syntax
public static class Extensions : Object

Fields

Api

S#.API

Declaration
public static readonly ProductInfoMessage Api
Field Value
Type Description
ProductInfoMessage

Designer

S#.Designer

Declaration
public static readonly ProductInfoMessage Designer
Field Value
Type Description
ProductInfoMessage

Edu

S#.Edu

Declaration
public static readonly ProductInfoMessage Edu
Field Value
Type Description
ProductInfoMessage

Hydra

S#.Data

Declaration
public static readonly ProductInfoMessage Hydra
Field Value
Type Description
ProductInfoMessage

Installer

S#.Installer

Declaration
public static readonly ProductInfoMessage Installer
Field Value
Type Description
ProductInfoMessage

LicenseTool

S#.LicenseTool

Declaration
public static readonly ProductInfoMessage LicenseTool
Field Value
Type Description
ProductInfoMessage

Server

S#.Server

Declaration
public static readonly ProductInfoMessage Server
Field Value
Type Description
ProductInfoMessage

Terminal

S#.Terminal

Declaration
public static readonly ProductInfoMessage Terminal
Field Value
Type Description
ProductInfoMessage

TerminalMobile

S#.Terminal (mobile).

Declaration
public static readonly ProductInfoMessage TerminalMobile
Field Value
Type Description
ProductInfoMessage

Methods

FromEnum(Products)

Преобразовать Products в ProductInfoMessage.

Declaration
public static ProductInfoMessage FromEnum(this Products product)
Parameters
Type Name Description
Products product

Products значение.

Returns
Type Description
ProductInfoMessage

ProductInfoMessage значение.

GetLocalFiles(String)

Получить список файлов и их хэши в указанной директории.

Declaration
public static Tuple<string, string>[] GetLocalFiles(string path)
Parameters
Type Name Description
String path

Путь к директории.

Returns
Type Description
Tuple<String, String>[]

Список файлов.

GetPublicName(ProductInfoMessage)

Получить публичное имя продукта.

Declaration
public static string GetPublicName(this ProductInfoMessage product)
Parameters
Type Name Description
ProductInfoMessage product

Product.

Returns
Type Description
String

Публичное имя.

Hash(Byte[])

Get hash for the specified input.

Declaration
public static string Hash(this byte[] input)
Parameters
Type Name Description
Byte[] input

Input.

Returns
Type Description
String

File hash.

ToEnum(ProductInfoMessage)

Преобразовать ProductInfoMessage в Products.

Declaration
public static Products ToEnum(this ProductInfoMessage product)
Parameters
Type Name Description
ProductInfoMessage product

ProductInfoMessage значение.

Returns
Type Description
Products

Products значение.

☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾