Esempio n. 1
0
 public ReadStoreMediator(ReadStoreServiceFactory serviceFactory)
 {
     _serviceFactory = serviceFactory;
 }
Esempio n. 2
0
 public abstract Task <TResponse> Handle(IReadStoreRequest <TResponse> request, CancellationToken cancellationToken, ReadStoreServiceFactory serviceFactory);
 public static T GetInstance <T>(this ReadStoreServiceFactory serviceFactory) => (T)serviceFactory(typeof(T));