Table of Contents

Interface IBasketSecurityProcessorProvider

Namespace
StockSharp.Messages
Assembly
StockSharp.Messages.dll

The interface for provider of IBasketSecurityProcessor.

public interface IBasketSecurityProcessorProvider
Extension Methods

Properties

AllCodes

All registered basket codes.

IEnumerable<string> AllCodes { get; }

Property Value

IEnumerable<string>

Methods

Register(string, Type, Type)

Register new security type.

void Register(string basketCode, Type processorType, Type securityType)

Parameters

basketCode string

Basket security type.

processorType Type

Processor type.

securityType Type

Security type.

TryGetProcessorType(string, out Type)

Try get processor type.

bool TryGetProcessorType(string basketCode, out Type processorType)

Parameters

basketCode string

Basket security type.

processorType Type

Processor type.

Returns

bool

true if the processor type was found; otherwise, false.

TryGetSecurityType(string, out Type)

Try get security type.

bool TryGetSecurityType(string basketCode, out Type securityType)

Parameters

basketCode string

Basket security type.

securityType Type

Security type.

Returns

bool

true if the security type was found; otherwise, false.

UnRegister(string)

Remove old security type.

bool UnRegister(string basketCode)

Parameters

basketCode string

Basket security type.

Returns

bool

true if the code was found and removed; otherwise, false.