Example #1
0
 public JourneyModelInitializer(
     ISqlQueryDispatcher sqlQueryDispatcher,
     IProviderOwnershipCache providerOwnershipCache)
 {
     _sqlQueryDispatcher     = sqlQueryDispatcher;
     _providerOwnershipCache = providerOwnershipCache;
 }
 public Handler(
     JourneyInstance <EditVenueJourneyModel> journeyInstance,
     IProviderOwnershipCache providerOwnershipCache,
     ISqlQueryDispatcher sqlQueryDispatcher)
 {
     _journeyInstance        = journeyInstance;
     _providerOwnershipCache = providerOwnershipCache;
     _sqlQueryDispatcher     = sqlQueryDispatcher;
 }
Example #3
0
 public Handler(
     IProviderInfoCache providerInfoCache,
     IProviderOwnershipCache providerOwnershipCache,
     ICosmosDbQueryDispatcher cosmosDbQueryDispatcher,
     FormFlowInstance <FlowModel> formFlowInstance)
 {
     _providerInfoCache       = providerInfoCache;
     _providerOwnershipCache  = providerOwnershipCache;
     _cosmosDbQueryDispatcher = cosmosDbQueryDispatcher;
     _formFlowInstance        = formFlowInstance;
 }
Example #4
0
 public Handler(
     FormFlowInstance <EditVenueFlowModel> formFlowInstance,
     IProviderOwnershipCache providerOwnershipCache,
     IProviderInfoCache providerInfoCache,
     ICosmosDbQueryDispatcher cosmosDbQueryDispatcher)
 {
     _formFlowInstance        = formFlowInstance;
     _providerOwnershipCache  = providerOwnershipCache;
     _providerInfoCache       = providerInfoCache;
     _cosmosDbQueryDispatcher = cosmosDbQueryDispatcher;
 }
 public Handler(
     JourneyInstance <EditVenueJourneyModel> journeyInstance,
     IProviderOwnershipCache providerOwnershipCache,
     IProviderInfoCache providerInfoCache,
     ICosmosDbQueryDispatcher cosmosDbQueryDispatcher)
 {
     _journeyInstance         = journeyInstance;
     _providerOwnershipCache  = providerOwnershipCache;
     _providerInfoCache       = providerInfoCache;
     _cosmosDbQueryDispatcher = cosmosDbQueryDispatcher;
 }
Example #6
0
 public Handler(
     IProviderOwnershipCache providerOwnershipCache,
     ISqlQueryDispatcher sqlQueryDispatcher,
     JourneyInstance <JourneyModel> journeyInstance,
     IClock clock,
     ICurrentUserProvider currentUserProvider)
 {
     _providerOwnershipCache = providerOwnershipCache;
     _sqlQueryDispatcher     = sqlQueryDispatcher;
     _journeyInstance        = journeyInstance;
     _clock = clock;
     _currentUserProvider = currentUserProvider;
 }
Example #7
0
 public RequireUserCanAccessCourseBehavior(
     IRequireUserCanAccessCourse <TRequest> descriptor,
     ICurrentUserProvider currentUserProvider,
     IProviderOwnershipCache providerOwnershipCache,
     IProviderContextProvider providerContextProvider,
     IProviderInfoCache providerInfoCache)
 {
     _descriptor              = descriptor;
     _currentUserProvider     = currentUserProvider;
     _providerOwnershipCache  = providerOwnershipCache;
     _providerContextProvider = providerContextProvider;
     _providerInfoCache       = providerInfoCache;
 }
Example #8
0
 public Handler(
     ISqlQueryDispatcher sqlQueryDispatcher,
     IProviderOwnershipCache providerOwnershipCache,
     ICurrentUserProvider currentUserProvider,
     JourneyInstanceProvider journeyInstanceProvider,
     IClock clock)
 {
     _sqlQueryDispatcher      = sqlQueryDispatcher;
     _providerOwnershipCache  = providerOwnershipCache;
     _currentUserProvider     = currentUserProvider;
     _journeyInstanceProvider = journeyInstanceProvider;
     _clock = clock;
 }
 public Handler(
     IProviderInfoCache providerInfoCache,
     IProviderOwnershipCache providerOwnershipCache,
     ICosmosDbQueryDispatcher cosmosDbQueryDispatcher,
     JourneyInstance <JourneyModel> journeyInstance,
     IClock clock,
     ICurrentUserProvider currentUserProvider)
 {
     _providerInfoCache       = providerInfoCache ?? throw new ArgumentNullException(nameof(providerInfoCache));
     _providerOwnershipCache  = providerOwnershipCache ?? throw new ArgumentNullException(nameof(providerOwnershipCache));
     _cosmosDbQueryDispatcher = cosmosDbQueryDispatcher ?? throw new ArgumentNullException(nameof(cosmosDbQueryDispatcher));
     _journeyInstance         = journeyInstance ?? throw new ArgumentNullException(nameof(journeyInstance));
     _clock = clock ?? throw new ArgumentNullException(nameof(clock));
     _currentUserProvider = currentUserProvider ?? throw new ArgumentNullException(nameof(currentUserProvider));
 }