• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# ILibraryManager类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


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


示例17: PeopleValidator

 /// <summary>
 /// Initializes a new instance of the <see cref="PeopleValidator" /> class.
 /// </summary>
 /// <param name="libraryManager">The library manager.</param>
 /// <param name="logger">The logger.</param>
 public PeopleValidator(ILibraryManager libraryManager, ILogger logger, IServerConfigurationManager config, IFileSystem fileSystem)
 {
     _libraryManager = libraryManager;
     _logger = logger;
     _config = config;
     _fileSystem = fileSystem;
 }
开发者ID:ChubbyArse,项目名称:Emby,代码行数:12,代码来源:PeopleValidator.cs


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


示例19: OrchardLibraryManager

        public OrchardLibraryManager(ILibraryManager libraryManager)
        {
            _libraryManager = libraryManager;

            AdditionalLibraries = new List<Library>();
            MetadataReferences = new List<IMetadataReference>();
        }
开发者ID:Giahim,项目名称:Brochard,代码行数:7,代码来源:OrchardLibraryManager.cs


示例20: SubtitleScheduledTask

 public SubtitleScheduledTask(ILibraryManager libraryManager, IServerConfigurationManager config, ISubtitleManager subtitleManager, ILogger logger)
 {
     _libraryManager = libraryManager;
     _config = config;
     _subtitleManager = subtitleManager;
     _logger = logger;
 }
开发者ID:bigjohn322,项目名称:MediaBrowser,代码行数:7,代码来源:SubtitleScheduledTask.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# ILibraryService类代码示例发布时间:2022-05-24
下一篇:
C# ILgWritingSystemFactory类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap