Пример #1
0
 public PropertySqlDataProvider(IDataContext context, IAddressDataProvider addressDataProvider, IFileDataProvider fileDataProvider, IModelDataProvider <DataModel.VProperty> modelDataProvider)
     : base(context)
 {
     _addressDataProvider = addressDataProvider ?? throw new ArgumentNullException(nameof(addressDataProvider));
     _fileDataProvider    = fileDataProvider ?? throw new ArgumentNullException(nameof(fileDataProvider));
     _modelDataProvider   = modelDataProvider ?? throw new ArgumentNullException(nameof(modelDataProvider));
 }
Пример #2
0
 public AddressController(IRepository <Address, Guid> addressRepository, IAddressDataProvider addressDataProvider, IAggregateFactory <Address, AddressFactoryInput, Guid> addressFactory, IMeterReadDataProvider meterReadDataProvider)
 {
     _addressRepository     = addressRepository;
     _addressDataProvider   = addressDataProvider;
     _addressFactory        = addressFactory;
     _meterReadDataProvider = meterReadDataProvider;
 }
Пример #3
0
 public MartenServiceClient(IUsageDataProvider usageDataProvider, IMeterDataProvider meterDataProvider, IAddressDataProvider addressDataProvider, IMeterReadDataProvider meterReadDataProvider, IDocumentSession documentSession)
 {
     _usageDataProvider     = usageDataProvider;
     _meterDataProvider     = meterDataProvider;
     _addressDataProvider   = addressDataProvider;
     _meterReadDataProvider = meterReadDataProvider;
     _documentSession       = documentSession;
 }
Пример #4
0
 public UserProfileDataProvider(IUnitOfWork unitOfWork, IUserSecurityQuestionDataProvider userSecurityQuestionDataProvider, IPhoneDataProvider phoneDataProvider,
                                IEmailDataProvider emailDataProvider, IAddressDataProvider addressDataProvider, ILogger logger)
 {
     _unitOfWork = unitOfWork;
     _userSecurityQuestionDataProvider = userSecurityQuestionDataProvider;
     _phoneDataProvider   = phoneDataProvider;
     _emailDataProvider   = emailDataProvider;
     _addressDataProvider = addressDataProvider;
     _logger = logger;
 }
Пример #5
0
 public PropertyDataProvider(IDataContext context, IAddressDataProvider addressDataProvider, IFileDataProvider fileDataProvider, IModelDataProvider <DataModel.VProperty> modelDataProvider)
     : base(context, addressDataProvider, fileDataProvider, modelDataProvider)
 {
 }