private Mock <LearnerReferenceDataRepositoryService> NewServiceMock(
     IDbContextFactory <IILR1920_DataStoreEntitiesValid> contextFactory = null,
     IReferenceDataOptions referenceDataOptions         = null,
     IJsonSerializationService jsonSerializationService = null)
 {
     return(new Mock <LearnerReferenceDataRepositoryService>(contextFactory, referenceDataOptions, jsonSerializationService));
 }
 private DevolvedPostcodesRepositoryService NewService(
     IDbContextFactory <IPostcodesContext> postcodesContextFactory,
     IReferenceDataOptions referenceDataOptions         = null,
     IJsonSerializationService jsonSerializationService = null)
 {
     return(new DevolvedPostcodesRepositoryService(postcodesContextFactory, referenceDataOptions, jsonSerializationService));
 }
コード例 #3
0
 private Mock <PostcodesRepositoryService> NewServiceMock(
     IDbContextFactory <IPostcodesContext> postcodesContextFactory = null,
     IReferenceDataOptions referenceDataOptions             = null,
     IJsonSerializationService jsonSerializationService     = null,
     IPostcodesEntityModelMapper postcodesEntityModelMapper = null)
 {
     return(new Mock <PostcodesRepositoryService>(postcodesContextFactory, referenceDataOptions, jsonSerializationService, postcodesEntityModelMapper ?? new PostcodesEntityModelMapper()));
 }
 public DevolvedPostcodesRepositoryService(
     IDbContextFactory <IPostcodesContext> postcodesContextFactory,
     IReferenceDataOptions referenceDataOptions,
     IJsonSerializationService jsonSerializationService)
 {
     _postcodesContextFactory  = postcodesContextFactory;
     _referenceDataOptions     = referenceDataOptions;
     _jsonSerializationService = jsonSerializationService;
 }
コード例 #5
0
 public DesktopPostcodesRepositoryService(
     IReferenceDataOptions referenceDataOptions,
     IPostcodesEntityModelMapper postcodesEntityModelMapper,
     IReferenceDataStatisticsService referenceDataStatisticsService)
 {
     _referenceDataOptions           = referenceDataOptions;
     _postcodesEntityModelMapper     = postcodesEntityModelMapper;
     _referenceDataStatisticsService = referenceDataStatisticsService;
 }
コード例 #6
0
 public LearnerReferenceDataRepositoryService(
     IDbContextFactory <IILR1920_DataStoreEntitiesValid> ilrContextFactory,
     IReferenceDataOptions referenceDataOptions,
     IJsonSerializationService jsonSerializationService)
 {
     _ilrContextFactory        = ilrContextFactory;
     _referenceDataOptions     = referenceDataOptions;
     _jsonSerializationService = jsonSerializationService;
 }
コード例 #7
0
 public PostcodesRepositoryService(
     IDbContextFactory <IPostcodesContext> postcodesContextFactory,
     IReferenceDataOptions referenceDataOptions,
     IJsonSerializationService jsonSerializationService,
     IPostcodesEntityModelMapper postcodesEntityModelMapper)
 {
     _postcodesContextFactory    = postcodesContextFactory;
     _referenceDataOptions       = referenceDataOptions;
     _jsonSerializationService   = jsonSerializationService;
     _postcodesEntityModelMapper = postcodesEntityModelMapper;
 }
 public ValidationMessagesTransaction(IReferenceDataOptions referenceDataOptions, IIlrReferenceDataRepositoryService ilrReferenceDataRepositoryService, ILogger logger)
 {
     _referenceDataOptions = referenceDataOptions;
     _ilrReferenceDataRepositoryService = ilrReferenceDataRepositoryService;
     _logger = logger;
 }
コード例 #9
0
 public RepositoryModule(IReferenceDataOptions referenceDataOptions)
 {
     _referenceDataOptions = referenceDataOptions;
 }