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


C# ILibraryManager类代码示例

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


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

示例1: Startup

 public Startup(IHostingEnvironment hostingEnvironment, IApplicationEnvironment applicationEnvironment, IAssemblyLoaderContainer assemblyLoaderContainer, IAssemblyLoadContextAccessor assemblyLoadContextAccessor, ILibraryManager libraryManager)
 {
   this.applicationBasePath = applicationEnvironment.ApplicationBasePath;
   this.assemblyLoaderContainer = assemblyLoaderContainer;
   this.assemblyLoadContextAccessor = assemblyLoadContextAccessor;
   this.libraryManager = libraryManager;
 }
开发者ID:leo9223,项目名称:ExtCore,代码行数:7,代码来源:Startup.cs

示例2: EncodingJobFactory

 public EncodingJobFactory(ILogger logger, ILibraryManager libraryManager, IMediaSourceManager mediaSourceManager, IConfigurationManager config)
 {
     _logger = logger;
     _libraryManager = libraryManager;
     _mediaSourceManager = mediaSourceManager;
     _config = config;
 }
开发者ID:RavenB,项目名称:Emby,代码行数:7,代码来源:EncodingJobFactory.cs

示例3: SetInitialItemValues

        /// <summary>
        /// Sets the initial item values.
        /// </summary>
        /// <param name="item">The item.</param>
        /// <param name="args">The args.</param>
        /// <param name="fileSystem">The file system.</param>
        /// <param name="libraryManager">The library manager.</param>
        public static void SetInitialItemValues(BaseItem item, ItemResolveArgs args, IFileSystem fileSystem, ILibraryManager libraryManager)
        {
            // If the resolver didn't specify this
            if (string.IsNullOrEmpty(item.Path))
            {
                item.Path = args.Path;
            }

            // If the resolver didn't specify this
            if (args.Parent != null)
            {
                item.Parent = args.Parent;
            }

            item.Id = libraryManager.GetNewItemId(item.Path, item.GetType());

            // Make sure the item has a name
            EnsureName(item, args.FileInfo);

            item.IsLocked = item.Path.IndexOf("[dontfetchmeta]", StringComparison.OrdinalIgnoreCase) != -1 ||
                item.Parents.Any(i => i.IsLocked);

            // Make sure DateCreated and DateModified have values
            EnsureDates(fileSystem, item, args, true);
        }
开发者ID:jrags56,项目名称:MediaBrowser,代码行数:32,代码来源:ResolverHelper.cs

示例4: ChannelPostScanTask

 public ChannelPostScanTask(IChannelManager channelManager, IUserManager userManager, ILogger logger, ILibraryManager libraryManager)
 {
     _channelManager = channelManager;
     _userManager = userManager;
     _logger = logger;
     _libraryManager = libraryManager;
 }
开发者ID:rezafouladian,项目名称:Emby,代码行数:7,代码来源:ChannelPostScanTask.cs

示例5: MoviesService

 /// <summary>
 /// Initializes a new instance of the <see cref="MoviesService"/> class.
 /// </summary>
 /// <param name="userManager">The user manager.</param>
 /// <param name="userDataRepository">The user data repository.</param>
 /// <param name="libraryManager">The library manager.</param>
 public MoviesService(IUserManager userManager, IUserDataRepository userDataRepository, ILibraryManager libraryManager, IItemRepository itemRepo)
 {
     _userManager = userManager;
     _userDataRepository = userDataRepository;
     _libraryManager = libraryManager;
     _itemRepo = itemRepo;
 }
开发者ID:JasoonJ,项目名称:MediaBrowser,代码行数:13,代码来源:MoviesService.cs

示例6: 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

示例7: DtoBuilder

 public DtoBuilder(ILogger logger, ILibraryManager libraryManager, IUserDataRepository userDataRepository, IItemRepository itemRepo)
 {
     _logger = logger;
     _libraryManager = libraryManager;
     _userDataRepository = userDataRepository;
     _itemRepo = itemRepo;
 }
开发者ID:jordy1955,项目名称:MediaBrowser,代码行数:7,代码来源:DtoBuilder.cs

示例8: SyncManager

 public SyncManager(ILibraryManager libraryManager, ISyncRepository repo, IImageProcessor imageProcessor, ILogger logger)
 {
     _libraryManager = libraryManager;
     _repo = repo;
     _imageProcessor = imageProcessor;
     _logger = logger;
 }
开发者ID:bigjohn322,项目名称:MediaBrowser,代码行数:7,代码来源:SyncManager.cs

示例9: 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

示例10: LocalTrailerDownloadTask

 public LocalTrailerDownloadTask(ILibraryManager libraryManager, ILogger logger, ILibraryMonitor libraryMonitor, IChannelManager channelManager)
 {
     _libraryManager = libraryManager;
     _logger = logger;
     _channelManager = channelManager;
     _libraryMonitor = libraryMonitor;
 }
开发者ID:ddecaro,项目名称:Emby.Channels,代码行数:7,代码来源:LocalTrailerDownloadTask.cs

示例11: 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

示例12: RefreshChannelsScheduledTask

 public RefreshChannelsScheduledTask(IChannelManager channelManager, IUserManager userManager, ILogger logger, ILibraryManager libraryManager)
 {
     _channelManager = channelManager;
     _userManager = userManager;
     _logger = logger;
     _libraryManager = libraryManager;
 }
开发者ID:t-andre,项目名称:Emby,代码行数:7,代码来源:RefreshChannelsScheduledTask.cs

示例13: TVSeriesManager

 public TVSeriesManager(IUserManager userManager, IUserDataManager userDataManager, ILibraryManager libraryManager, IServerConfigurationManager config)
 {
     _userManager = userManager;
     _userDataManager = userDataManager;
     _libraryManager = libraryManager;
     _config = config;
 }
开发者ID:7illusions,项目名称:Emby,代码行数:7,代码来源:TVSeriesManager.cs

示例14: ChapterManager

 public ChapterManager(ILibraryManager libraryManager, ILogger logger, IServerConfigurationManager config, IItemRepository itemRepo)
 {
     _libraryManager = libraryManager;
     _logger = logger;
     _config = config;
     _itemRepo = itemRepo;
 }
开发者ID:rezafouladian,项目名称:Emby,代码行数:7,代码来源:ChapterManager.cs

示例15: SearchEngine

        public SearchEngine(ILogManager logManager, ILibraryManager libraryManager, IUserManager userManager)
        {
            _libraryManager = libraryManager;
            _userManager = userManager;

            _logger = logManager.GetLogger("Lucene");
        }
开发者ID:jscorrea,项目名称:MediaBrowser,代码行数:7,代码来源:SearchEngine.cs


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