当前位置: 首页>>代码示例>>C#>>正文


C# IServerConfigurationManager类代码示例

本文整理汇总了C#中IServerConfigurationManager的典型用法代码示例。如果您正苦于以下问题:C# IServerConfigurationManager类的具体用法?C# IServerConfigurationManager怎么用?C# IServerConfigurationManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IServerConfigurationManager类属于命名空间,在下文中一共展示了IServerConfigurationManager类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: FanArtSeasonProvider

 public FanArtSeasonProvider(IServerConfigurationManager config, IHttpClient httpClient, IFileSystem fileSystem, IJsonSerializer json)
 {
     _config = config;
     _httpClient = httpClient;
     _fileSystem = fileSystem;
     _json = json;
 }
开发者ID:rezafouladian,项目名称:Emby,代码行数:7,代码来源:FanArtSeasonProvider.cs

示例2: SessionManager

 /// <summary>
 /// Initializes a new instance of the <see cref="SessionManager"/> class.
 /// </summary>
 /// <param name="userDataRepository">The user data repository.</param>
 /// <param name="configurationManager">The configuration manager.</param>
 /// <param name="logger">The logger.</param>
 /// <param name="userRepository">The user repository.</param>
 public SessionManager(IUserDataRepository userDataRepository, IServerConfigurationManager configurationManager, ILogger logger, IUserRepository userRepository)
 {
     _userDataRepository = userDataRepository;
     _configurationManager = configurationManager;
     _logger = logger;
     _userRepository = userRepository;
 }
开发者ID:snap608,项目名称:MediaBrowser,代码行数:14,代码来源:SessionManager.cs

示例3: ImageSaver

 /// <summary>
 /// Initializes a new instance of the <see cref="ImageSaver"/> class.
 /// </summary>
 /// <param name="config">The config.</param>
 /// <param name="directoryWatchers">The directory watchers.</param>
 public ImageSaver(IServerConfigurationManager config, IDirectoryWatchers directoryWatchers, IFileSystem fileSystem)
 {
     _config = config;
     _directoryWatchers = directoryWatchers;
     _fileSystem = fileSystem;
     _remoteImageCache = new FileSystemRepository(config.ApplicationPaths.DownloadedImagesDataPath);
 }
开发者ID:Jon-theHTPC,项目名称:MediaBrowser,代码行数:12,代码来源:ImageSaver.cs

示例4: FanArtAlbumProvider

 /// <summary>
 /// Initializes a new instance of the <see cref="FanArtAlbumProvider"/> class.
 /// </summary>
 /// <param name="httpClient">The HTTP client.</param>
 /// <param name="logManager">The log manager.</param>
 /// <param name="configurationManager">The configuration manager.</param>
 /// <param name="providerManager">The provider manager.</param>
 public FanArtAlbumProvider(IHttpClient httpClient, ILogManager logManager, IServerConfigurationManager configurationManager, IProviderManager providerManager, IFileSystem fileSystem)
     : base(logManager, configurationManager)
 {
     _providerManager = providerManager;
     _fileSystem = fileSystem;
     HttpClient = httpClient;
 }
开发者ID:RomanDengin,项目名称:MediaBrowser,代码行数:14,代码来源:FanArtAlbumProvider.cs

示例5: FanArtMovieUpdatesPrescanTask

 public FanArtMovieUpdatesPrescanTask(IJsonSerializer jsonSerializer, IServerConfigurationManager config, ILogger logger, IHttpClient httpClient)
 {
     _jsonSerializer = jsonSerializer;
     _config = config;
     _logger = logger;
     _httpClient = httpClient;
 }
开发者ID:0sm0,项目名称:MediaBrowser,代码行数:7,代码来源:FanArtMovieUpdatesPrescanTask.cs

示例6: ItemImageProvider

 public ItemImageProvider(ILogger logger, IProviderManager providerManager, IServerConfigurationManager config, IFileSystem fileSystem)
 {
     _logger = logger;
     _providerManager = providerManager;
     _config = config;
     _fileSystem = fileSystem;
 }
开发者ID:Ceten,项目名称:MediaBrowser,代码行数:7,代码来源:ItemImageProvider.cs

示例7: EpisodeXmlProvider

 public EpisodeXmlProvider(IItemRepository itemRepository, IServerConfigurationManager config, ILibraryManager libraryManager, IFileSystem fileSystem)
 {
     _itemRepository = itemRepository;
     _config = config;
     _libraryManager = libraryManager;
     _fileSystem = fileSystem;
 }
开发者ID:angelblue05,项目名称:Emby.Plugins,代码行数:7,代码来源:EpisodeXmlSaver.cs

示例8: SharingManager

 public SharingManager(SharingRepository repository, IServerConfigurationManager config, ILibraryManager libraryManager, IServerApplicationHost appHost)
 {
     _repository = repository;
     _config = config;
     _libraryManager = libraryManager;
     _appHost = appHost;
 }
开发者ID:rezafouladian,项目名称:Emby,代码行数:7,代码来源:SharingManager.cs

示例9: DeviceDiscovery

        public DeviceDiscovery(ILogger logger, IServerConfigurationManager config)
        {
            _tokenSource = new CancellationTokenSource();

            _logger = logger;
            _config = config;
        }
开发者ID:t-andre,项目名称:Emby,代码行数:7,代码来源:DeviceDiscovery.cs

示例10: UdpServerEntryPoint

 /// <summary>
 /// Initializes a new instance of the <see cref="UdpServerEntryPoint"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 /// <param name="networkManager">The network manager.</param>
 /// <param name="serverConfigurationManager">The server configuration manager.</param>
 /// <param name="httpServer">The HTTP server.</param>
 public UdpServerEntryPoint(ILogger logger, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager, IHttpServer httpServer)
 {
     _logger = logger;
     _networkManager = networkManager;
     _serverConfigurationManager = serverConfigurationManager;
     _httpServer = httpServer;
 }
开发者ID:RomanDengin,项目名称:MediaBrowser,代码行数:14,代码来源:UdpServerEntryPoint.cs

示例11: DummySeasonProvider

 public DummySeasonProvider(IServerConfigurationManager config, ILogger logger, ILocalizationManager localization, ILibraryManager libraryManager)
 {
     _config = config;
     _logger = logger;
     _localization = localization;
     _libraryManager = libraryManager;
 }
开发者ID:mtlott,项目名称:MediaBrowser.Plugins.Anime,代码行数:7,代码来源:DummySeasonProvider.cs

示例12: DlnaEntryPoint

 public DlnaEntryPoint(IServerConfigurationManager config, 
     ILogManager logManager, 
     IServerApplicationHost appHost, 
     INetworkManager network, 
     ISessionManager sessionManager, 
     IHttpClient httpClient, 
     ILibraryManager libraryManager, 
     IUserManager userManager, 
     IDlnaManager dlnaManager, 
     IImageProcessor imageProcessor, 
     IUserDataManager userDataManager, 
     ILocalizationManager localization, 
     IMediaSourceManager mediaSourceManager, 
     ISsdpHandler ssdpHandler)
 {
     _config = config;
     _appHost = appHost;
     _network = network;
     _sessionManager = sessionManager;
     _httpClient = httpClient;
     _libraryManager = libraryManager;
     _userManager = userManager;
     _dlnaManager = dlnaManager;
     _imageProcessor = imageProcessor;
     _userDataManager = userDataManager;
     _localization = localization;
     _mediaSourceManager = mediaSourceManager;
     _ssdpHandler = (SsdpHandler)ssdpHandler;
     _logger = logManager.GetLogger("Dlna");
 }
开发者ID:jrags56,项目名称:MediaBrowser,代码行数:30,代码来源:DlnaEntryPoint.cs

示例13: TvdbPrescanTask

 /// <summary>
 /// Initializes a new instance of the <see cref="TvdbPrescanTask"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 /// <param name="httpClient">The HTTP client.</param>
 /// <param name="config">The config.</param>
 public TvdbPrescanTask(ILogger logger, IHttpClient httpClient, IServerConfigurationManager config, IFileSystem fileSystem)
 {
     _logger = logger;
     _httpClient = httpClient;
     _config = config;
     _fileSystem = fileSystem;
 }
开发者ID:RomanDengin,项目名称:MediaBrowser,代码行数:13,代码来源:TvdbPrescanTask.cs

示例14: MissingEpisodeProvider

 public MissingEpisodeProvider(ILogger logger, IServerConfigurationManager config, ILibraryManager libraryManager, ILocalizationManager localization)
 {
     _logger = logger;
     _config = config;
     _libraryManager = libraryManager;
     _localization = localization;
 }
开发者ID:jrags56,项目名称:MediaBrowser,代码行数:7,代码来源:MissingEpisodeProvider.cs

示例15: AuthService

 public AuthService(IUserManager userManager, ISessionManager sessionManager, IAuthorizationContext authorizationContext, IServerConfigurationManager config)
 {
     AuthorizationContext = authorizationContext;
     _config = config;
     SessionManager = sessionManager;
     UserManager = userManager;
 }
开发者ID:bigjohn322,项目名称:MediaBrowser,代码行数:7,代码来源:AuthService.cs


注:本文中的IServerConfigurationManager类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。