protected MinistryPlatformBase(IMinistryPlatformRestRequestBuilderFactory mpRestBuilder, IApiUserRepository apiUserRepository, IConfigurationWrapper configurationWrapper, IMapper mapper) { MpRestBuilder = mpRestBuilder; ApiUserRepository = apiUserRepository; ConfigurationWrapper = configurationWrapper; Mapper = mapper; }
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)); }
public BatchRepository(IMinistryPlatformRestRequestBuilderFactory builder, IApiUserRepository apiUserRepository, IConfigurationWrapper configurationWrapper, IMapper mapper) : base(builder, apiUserRepository, configurationWrapper, mapper) { }
public MpUserService(IAuthenticationRepository authenticationRepository, IMinistryPlatformRestRequestBuilderFactory mpRestBuilder) { _authenticationRepository = authenticationRepository; _mpRestBuilder = mpRestBuilder; }