public NotificationsHandlerService(IFamilyInfrastructureProvider infrastructure) { _infrastructure = infrastructure; if (this.Infrastructure == null || this.EmailService == null) { throw new CustomOperationException("Email Service is not specified in web.config settings!"); } }
public VideoConverter(IFamilyUnitOfWork unitOfWork, IFamilyInfrastructureProvider infrastructure) { _unitOfWork = unitOfWork; _infrastructure = infrastructure; if (_infrastructure == null) { throw new CustomArgumentException("Invalid Infrastructure provided for VideoConverter!"); } _converter = new CloudConverterClient(_infrastructure.GetSettings("CloudConverterApiKey")); }
public FilesManager(IFamilyUnitOfWork uow, IFamilyInfrastructureProvider infrastructure, ITokenProvider tokenProvider) : base(uow, infrastructure, tokenProvider) { }
public MaterialModificationService(IFamilyInfrastructureProvider infrastructure, IThumbnailProvider thumbnailProvider, IVideoConverter videoConverter) { _infrastructure = infrastructure; _thumbnailProvider = thumbnailProvider; _videoConverter = videoConverter; }
public AuthenticationService(IFamilyInfrastructureProvider infrastructure) { _infrastructure = infrastructure; }
public BaseManager(IFamilyUnitOfWork uow, IFamilyInfrastructureProvider infrastructure, ITokenProvider tokenProvider) : base(uow) { _infrastructure = infrastructure; _tokenProvider = tokenProvider; }
public AuthApiController(IFamilyInfrastructureProvider infrastructure, IAuthenticationProvider authProvider) { _authProvider = authProvider; _infrastructure = infrastructure; }
public ThumbnailProvider(IFamilyInfrastructureProvider infrastructure) { _infrastructure = infrastructure; }