示例#1
0
 public YouTubeApi([NotNull] IMapper mapper,
                   [NotNull] IAppSettings appSettings,
                   [NotNull] YouTubeServiceCreatorOptions youTubeServiceCreatorOptions)
 {
     _mapper      = mapper;
     _appSettings = appSettings;
     _youTubeServiceCreatorOptions = youTubeServiceCreatorOptions;
 }
 public YouTubeApi([NotNull] IMapper mapper,
                   [NotNull] IAppSettings appSettings,
                   [NotNull] YouTubeServiceCreatorOptions youTubeServiceCreatorOptions,
                   [NotNull] IEntropyService entropyService,
                   [NotNull] IDpapiService dpapiService)
 {
     _mapper      = mapper;
     _appSettings = appSettings;
     _youTubeServiceCreatorOptions = youTubeServiceCreatorOptions;
     _entropyService = entropyService;
     _dpapiService   = dpapiService;
 }
 public WpfSettings(YouTubeServiceCreatorOptions youTubeServiceCreatorOptions, IErrorHandler errorHandler)
 {
     ErrorHandler = errorHandler;
     YouTubeServiceCreatorOptions = youTubeServiceCreatorOptions;
 }
 public YouTubeCleanupToolDbContextFactory([NotNull] YouTubeServiceCreatorOptions youTubeServiceCreatorOptions,
                                           [NotNull] IMapper mapper)
 {
     _youTubeServiceCreatorOptions = youTubeServiceCreatorOptions;
     _mapper = mapper;
 }