C# Class MemExchange.Server.Processor.Book.Orders.LimitOrder

Inheritance: IDisposable, ILimitOrder
显示文件 Open project: ThomasVestergaard/MemExchange Class Usage Examples

Private Properties

Property Type Description
RaiseDeletedEvent void
RaiseFilledEvent void
RaiseModifiedEvent void

Public Methods

Method Description
Delete ( ) : void
Dispose ( ) : void
LimitOrder ( string symbol, int quantity, double price, WayEnum way, int clientId ) : System
Modify ( int newQuantity ) : void
Modify ( int newQuantity, double newPrice ) : void
RegisterDeleteNotificationHandler ( Action handler ) : void
RegisterFilledNotification ( Action handler ) : void
RegisterModifyNotificationHandler ( Action handler ) : void
SetExchangeOrderId ( uint exchangeOrderId ) : void
ToDto ( ) : LimitOrderDto
UnRegisterDeleteNotificationHandler ( Action handler ) : void
UnRegisterFilledNotification ( Action handler ) : void
UnRegisterModifyNotificationHandler ( Action handler ) : void

Private Methods

Method Description
RaiseDeletedEvent ( ) : void
RaiseFilledEvent ( ) : void
RaiseModifiedEvent ( int oldQuantity, double oldPrice ) : void

Method Details

Delete() public method

public Delete ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

LimitOrder() public method

public LimitOrder ( string symbol, int quantity, double price, WayEnum way, int clientId ) : System
symbol string
quantity int
price double
way WayEnum
clientId int
return System

Modify() public method

public Modify ( int newQuantity ) : void
newQuantity int
return void

Modify() public method

public Modify ( int newQuantity, double newPrice ) : void
newQuantity int
newPrice double
return void

RegisterDeleteNotificationHandler() public method

public RegisterDeleteNotificationHandler ( Action handler ) : void
handler Action
return void

RegisterFilledNotification() public method

public RegisterFilledNotification ( Action handler ) : void
handler Action
return void

RegisterModifyNotificationHandler() public method

public RegisterModifyNotificationHandler ( Action handler ) : void
handler Action
return void

SetExchangeOrderId() public method

public SetExchangeOrderId ( uint exchangeOrderId ) : void
exchangeOrderId uint
return void

ToDto() public method

public ToDto ( ) : LimitOrderDto
return MemExchange.Core.SharedDto.Orders.LimitOrderDto

UnRegisterDeleteNotificationHandler() public method

public UnRegisterDeleteNotificationHandler ( Action handler ) : void
handler Action
return void

UnRegisterFilledNotification() public method

public UnRegisterFilledNotification ( Action handler ) : void
handler Action
return void

UnRegisterModifyNotificationHandler() public method

public UnRegisterModifyNotificationHandler ( Action handler ) : void
handler Action
return void