예제 #1
0
 private AddOrderRelationCommandBase(Order closeOrder, AddOrderRelationCommandVisitorBase visitor)
 {
     _closeOrder  = closeOrder;
     this.Account = _closeOrder.Owner.Owner;
     _visitor     = visitor;
 }
예제 #2
0
 protected AddOrderRelationCommandBase(Order closeOrder, Order openOrder, decimal closedLot, AddOrderRelationCommandVisitorBase visitor)
     : this(closeOrder, visitor)
 {
     this.OpenOrder = openOrder;
     this.ClosedLot = closedLot;
 }
예제 #3
0
 protected AddOrderRelationCommandBase(Order closeOrder, DataRow dataRowOrderRelation, AddOrderRelationCommandVisitorBase visitor)
     : this(closeOrder, visitor)
 {
     _dataRowOrderRelation = dataRowOrderRelation;
 }
예제 #4
0
 protected AddOrderRelationCommandBase(Order closeOrder, Protocal.OrderRelationData orderRelationData, AddOrderRelationCommandVisitorBase visitor)
     : this(closeOrder, visitor)
 {
     this.OrderRelaitonData = orderRelationData;
 }
예제 #5
0
 protected AddOrderRelationCommandBase(Order closeOrder, XElement xmlOrderRelation, AddOrderRelationCommandVisitorBase visitor)
     : this(closeOrder, visitor)
 {
     _xmlOrderRelation = xmlOrderRelation;
 }
예제 #6
0
 protected abstract void Accept(AddOrderRelationCommandVisitorBase visitor);