Exemplo n.º 1
0
 public Builder WithCheckInModelFactory(ICheckInModelFactory modelFactory)
 {
     _modelFactory = modelFactory;
     return(this);
 }
 public CheckInRepository(IRedisServerProvider dataProvider, ICheckInModelFactory checkInFactory, ILogger <CheckInRepository> logger)
 {
     _dataProvider        = dataProvider ?? throw new ArgumentNullException(nameof(IRedisServerProvider));
     _checkInModelFactory = checkInFactory ?? throw new ArgumentNullException(nameof(CheckInModelFactory));
     _logger = logger ?? throw new ArgumentNullException(nameof(ILogger <CheckInRepository>));
 }