示例#1
0
 public OrderController(IOrderEndpoint orderEndPoint,
                        IUserIdentityProvider userIdentityProvider)
 {
     _orderEndPoint        = orderEndPoint;
     _userIdentityProvider = userIdentityProvider;
 }
示例#2
0
 public OrderController(IOrderEndpoint orderEndpoint)
 {
     _orderEndpoint = orderEndpoint;
 }
 public OrderTicketViewModel(IOrderEndpoint orderEndpoint, IOrderFieldsCache fieldsCache)
 {
     _orderEndpoint = orderEndpoint;
     _fieldsCache   = fieldsCache;
 }
 private void AssumeOrderEndpointIsInitialised()
 {
     _orderEndPoint = Substitute.For <IOrderEndpoint>();
 }
示例#5
0
 public OrderCache(IOrderEndpoint orderEndpoint, IFillEndpoint fillEndpoint)
 {
     _orderEndpoint = orderEndpoint;
     _fillEndpoint  = fillEndpoint;
     _ = InitializeCache();
 }