protected MinistryPlatformBase(IMinistryPlatformRestRequestBuilderFactory mpRestBuilder,
                                IApiUserRepository apiUserRepository,
                                IConfigurationWrapper configurationWrapper,
                                IMapper mapper)
 {
     MpRestBuilder        = mpRestBuilder;
     ApiUserRepository    = apiUserRepository;
     ConfigurationWrapper = configurationWrapper;
     Mapper = mapper;
 }
Exemplo n.º 2
0
 public MinistryPlatformContactRepository(
     IMinistryPlatformRestRequestBuilderFactory mpRestBuilder,
     IApiUserRepository apiUserRepository,
     IJsonSerializer jsonSerializer,
     ILogger <MinistryPlatformContactRepository> logger)
 {
     _mpRestBuilder     = mpRestBuilder ?? throw new ArgumentNullException(nameof(mpRestBuilder));
     _apiUserRepository = apiUserRepository ?? throw new ArgumentNullException(nameof(apiUserRepository));
     _jsonSerializer    = jsonSerializer ?? throw new ArgumentNullException(nameof(jsonSerializer));
     _logger            = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Exemplo n.º 3
0
 public BatchRepository(IMinistryPlatformRestRequestBuilderFactory builder,
                        IApiUserRepository apiUserRepository,
                        IConfigurationWrapper configurationWrapper,
                        IMapper mapper) : base(builder, apiUserRepository, configurationWrapper, mapper)
 {
 }
Exemplo n.º 4
0
 public MpUserService(IAuthenticationRepository authenticationRepository,
                      IMinistryPlatformRestRequestBuilderFactory mpRestBuilder)
 {
     _authenticationRepository = authenticationRepository;
     _mpRestBuilder            = mpRestBuilder;
 }