Ejemplo n.º 1
0
 public SubscriptionStopCommandFromApi(
     StoppedSubscriptionParametersDto parameters,
     SubscriptionStopResponseBuilder responseBuilder,
     SubscriptionsModifyOperations subscriptions,
     SubscriptionDataCorrectnessCriteria correctnessCriteria,
     UserAuthorization userAuthorization)
 {
     _parameters          = parameters;
     _responseBuilder     = responseBuilder;
     _subscriptions       = subscriptions;
     _correctnessCriteria = correctnessCriteria;
     _userAuthorization   = userAuthorization;
 }
Ejemplo n.º 2
0
 public CommandFactory(
     SubscriptionsModifyOperations subscriptions,
     AuthorizationStructure authorizationStructure,
     ISubscriptionFactory subscriptionFactory,
     SubscriptionDataCorrectnessCriteria dataCorrectnessCriteria,
     IAssetQueriesFactory assetQueriesFactory,
     Log log)
 {
     _subscriptions           = subscriptions;
     _authorizationStructure  = authorizationStructure;
     _subscriptionFactory     = subscriptionFactory;
     _dataCorrectnessCriteria = dataCorrectnessCriteria;
     _assetQueriesFactory     = assetQueriesFactory;
     _log = log;
 }