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

C# IDtoService类代码示例

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

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



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

示例1: SessionWebSocketListener

 /// <summary>
 /// Initializes a new instance of the <see cref="SessionWebSocketListener" /> class.
 /// </summary>
 /// <param name="sessionManager">The session manager.</param>
 /// <param name="logManager">The log manager.</param>
 /// <param name="dtoService">The dto service.</param>
 public SessionWebSocketListener(ISessionManager sessionManager, ILogManager logManager, IDtoService dtoService, IServerApplicationHost appHost)
 {
     _sessionManager = sessionManager;
     _logger = logManager.GetLogger(GetType().Name);
     _dtoService = dtoService;
     _appHost = appHost;
 }
开发者ID:Rycius,项目名称:MediaBrowser,代码行数:13,代码来源:SessionWebSocketListener.cs


示例2: UserDataChangeNotifier

 public UserDataChangeNotifier(IUserDataManager userDataManager, ISessionManager sessionManager, IDtoService dtoService, ILogger logger)
 {
     _userDataManager = userDataManager;
     _sessionManager = sessionManager;
     _dtoService = dtoService;
     _logger = logger;
 }
开发者ID:jscorrea,项目名称:MediaBrowser,代码行数:7,代码来源:UserDataChangeNotifier.cs


示例3: InstantMixService

 public InstantMixService(IUserManager userManager, IDtoService dtoService, IMusicManager musicManager, ILibraryManager libraryManager)
 {
     _userManager = userManager;
     _dtoService = dtoService;
     _musicManager = musicManager;
     _libraryManager = libraryManager;
 }
开发者ID:softworkz,项目名称:Emby,代码行数:7,代码来源:InstantMixService.cs


示例4: LiveTvDtoService

 public LiveTvDtoService(IDtoService dtoService, IUserDataManager userDataManager, IImageProcessor imageProcessor, ILogger logger)
 {
     _dtoService = dtoService;
     _userDataManager = userDataManager;
     _imageProcessor = imageProcessor;
     _logger = logger;
 }
开发者ID:bigjohn322,项目名称:MediaBrowser,代码行数:7,代码来源:LiveTvDtoService.cs


示例5: LiveTvDtoService

 public LiveTvDtoService(IDtoService dtoService, IUserDataManager userDataManager, IImageProcessor imageProcessor, ILogger logger, IItemRepository itemRepo)
 {
     _dtoService = dtoService;
     _userDataManager = userDataManager;
     _imageProcessor = imageProcessor;
     _logger = logger;
     _itemRepo = itemRepo;
 }
开发者ID:Rycius,项目名称:MediaBrowser,代码行数:8,代码来源:LiveTvDtoService.cs


示例6: TrailersService

 /// <summary>
 /// Initializes a new instance of the <see cref="TrailersService"/> 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 TrailersService(IUserManager userManager, IUserDataManager userDataRepository, ILibraryManager libraryManager, IItemRepository itemRepo, IDtoService dtoService)
 {
     _userManager = userManager;
     _userDataRepository = userDataRepository;
     _libraryManager = libraryManager;
     _itemRepo = itemRepo;
     _dtoService = dtoService;
 }
开发者ID:Tensre,项目名称:MediaBrowser,代码行数:14,代码来源:TrailersService.cs


示例7: LiveTvDtoService

 public LiveTvDtoService(IDtoService dtoService, IUserDataManager userDataManager, IImageProcessor imageProcessor, ILogger logger, IApplicationHost appHost)
 {
     _dtoService = dtoService;
     _userDataManager = userDataManager;
     _imageProcessor = imageProcessor;
     _logger = logger;
     _appHost = appHost;
 }
开发者ID:rezafouladian,项目名称:Emby,代码行数:8,代码来源:LiveTvDtoService.cs


示例8: ChannelManager

 public ChannelManager(IUserManager userManager, IDtoService dtoService, ILibraryManager libraryManager, ILogger logger, IServerConfigurationManager config, IFileSystem fileSystem)
 {
     _userManager = userManager;
     _dtoService = dtoService;
     _libraryManager = libraryManager;
     _logger = logger;
     _config = config;
     _fileSystem = fileSystem;
 }
开发者ID:Rycius,项目名称:MediaBrowser,代码行数:9,代码来源:ChannelManager.cs


示例9: BaseStreamingService

 /// <summary>
 /// Initializes a new instance of the <see cref="BaseStreamingService" /> class.
 /// </summary>
 /// <param name="appPaths">The app paths.</param>
 /// <param name="userManager">The user manager.</param>
 /// <param name="libraryManager">The library manager.</param>
 /// <param name="isoManager">The iso manager.</param>
 /// <param name="mediaEncoder">The media encoder.</param>
 protected BaseStreamingService(IServerApplicationPaths appPaths, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IDtoService dtoService)
 {
     DtoService = dtoService;
     ApplicationPaths = appPaths;
     UserManager = userManager;
     LibraryManager = libraryManager;
     IsoManager = isoManager;
     MediaEncoder = mediaEncoder;
 }
开发者ID:Kampari,项目名称:MediaBrowser,代码行数:17,代码来源:BaseStreamingService.cs


示例10: WebSocketEvents

 /// <summary>
 /// Initializes a new instance of the <see cref="WebSocketEvents" /> class.
 /// </summary>
 /// <param name="serverManager">The server manager.</param>
 /// <param name="logger">The logger.</param>
 /// <param name="userManager">The user manager.</param>
 public WebSocketEvents(IServerManager serverManager, IServerApplicationHost appHost, IUserManager userManager, IInstallationManager installationManager, ITaskManager taskManager, IDtoService dtoService)
 {
     _serverManager = serverManager;
     _userManager = userManager;
     _installationManager = installationManager;
     _appHost = appHost;
     _taskManager = taskManager;
     _dtoService = dtoService;
 }
开发者ID:Kampari,项目名称:MediaBrowser,代码行数:15,代码来源:WebSocketEvents.cs


示例11: ServerEventNotifier

 /// <summary>
 /// Initializes a new instance of the <see cref="ServerEventNotifier" /> class.
 /// </summary>
 /// <param name="serverManager">The server manager.</param>
 /// <param name="logger">The logger.</param>
 /// <param name="userManager">The user manager.</param>
 public ServerEventNotifier(IServerManager serverManager, IServerApplicationHost appHost, IUserManager userManager, IInstallationManager installationManager, ITaskManager taskManager, IDtoService dtoService, ISessionManager sessionManager)
 {
     _serverManager = serverManager;
     _userManager = userManager;
     _installationManager = installationManager;
     _appHost = appHost;
     _taskManager = taskManager;
     _dtoService = dtoService;
     _sessionManager = sessionManager;
 }
开发者ID:RomanDengin,项目名称:MediaBrowser,代码行数:16,代码来源:ServerEventNotifier.cs


示例12: LiveTvManager

        public LiveTvManager(IServerApplicationPaths appPaths, IFileSystem fileSystem, ILogger logger, IItemRepository itemRepo, IImageProcessor imageProcessor, ILocalizationManager localization, IUserDataManager userDataManager, IDtoService dtoService, IUserManager userManager)
        {
            _appPaths = appPaths;
            _fileSystem = fileSystem;
            _logger = logger;
            _itemRepo = itemRepo;
            _localization = localization;
            _userManager = userManager;

            _tvDtoService = new LiveTvDtoService(dtoService, userDataManager, imageProcessor, logger);
        }
开发者ID:RomanDengin,项目名称:MediaBrowser,代码行数:11,代码来源:LiveTvManager.cs


示例13: BaseStreamingService

 /// <summary>
 /// Initializes a new instance of the <see cref="BaseStreamingService" /> class.
 /// </summary>
 /// <param name="serverConfig">The server configuration.</param>
 /// <param name="userManager">The user manager.</param>
 /// <param name="libraryManager">The library manager.</param>
 /// <param name="isoManager">The iso manager.</param>
 /// <param name="mediaEncoder">The media encoder.</param>
 /// <param name="dtoService">The dto service.</param>
 /// <param name="fileSystem">The file system.</param>
 /// <param name="itemRepository">The item repository.</param>
 protected BaseStreamingService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IDtoService dtoService, IFileSystem fileSystem, IItemRepository itemRepository)
 {
     ItemRepository = itemRepository;
     FileSystem = fileSystem;
     DtoService = dtoService;
     ServerConfigurationManager = serverConfig;
     UserManager = userManager;
     LibraryManager = libraryManager;
     IsoManager = isoManager;
     MediaEncoder = mediaEncoder;
 }
开发者ID:RomanDengin,项目名称:MediaBrowser,代码行数:22,代码来源:BaseStreamingService.cs


示例14: ControlHandler

 public ControlHandler(ILogger logger, ILibraryManager libraryManager, DeviceProfile profile, string serverAddress, IDtoService dtoService, IImageProcessor imageProcessor, IUserDataManager userDataManager, User user, int systemUpdateId)
 {
     _logger = logger;
     _libraryManager = libraryManager;
     _profile = profile;
     _serverAddress = serverAddress;
     _dtoService = dtoService;
     _imageProcessor = imageProcessor;
     _userDataManager = userDataManager;
     _user = user;
     _systemUpdateId = systemUpdateId;
 }
开发者ID:Nickolin,项目名称:MediaBrowser,代码行数:12,代码来源:ControlHandler.cs


示例15: LiveTvManager

        public LiveTvManager(IServerConfigurationManager config, IFileSystem fileSystem, ILogger logger, IItemRepository itemRepo, IImageProcessor imageProcessor, IUserDataManager userDataManager, IDtoService dtoService, IUserManager userManager, ILibraryManager libraryManager, ITaskManager taskManager)
        {
            _config = config;
            _fileSystem = fileSystem;
            _logger = logger;
            _itemRepo = itemRepo;
            _userManager = userManager;
            _libraryManager = libraryManager;
            _taskManager = taskManager;
            _userDataManager = userDataManager;

            _tvDtoService = new LiveTvDtoService(dtoService, userDataManager, imageProcessor, logger, _itemRepo);
        }
开发者ID:Tensre,项目名称:MediaBrowser,代码行数:13,代码来源:LiveTvManager.cs


示例16: PlayToController

 public PlayToController(SessionInfo session, ISessionManager sessionManager, IItemRepository itemRepository, ILibraryManager libraryManager, ILogger logger, INetworkManager networkManager, IDlnaManager dlnaManager, IUserManager userManager, IServerApplicationHost appHost, IDtoService dtoService)
 {
     _session = session;
     _itemRepository = itemRepository;
     _sessionManager = sessionManager;
     _libraryManager = libraryManager;
     _networkManager = networkManager;
     _dlnaManager = dlnaManager;
     _userManager = userManager;
     _appHost = appHost;
     _dtoService = dtoService;
     _logger = logger;
 }
开发者ID:Nickolin,项目名称:MediaBrowser,代码行数:13,代码来源:DlnaController.cs


示例17: PlayToServerEntryPoint

 public PlayToServerEntryPoint(ILogManager logManager, IServerConfigurationManager config, ISessionManager sessionManager, IHttpClient httpClient, IItemRepository itemRepo, ILibraryManager libraryManager, INetworkManager networkManager, IUserManager userManager, IDlnaManager dlnaManager, IServerApplicationHost appHost, IDtoService dtoService)
 {
     _config = config;
     _sessionManager = sessionManager;
     _httpClient = httpClient;
     _itemRepo = itemRepo;
     _libraryManager = libraryManager;
     _networkManager = networkManager;
     _userManager = userManager;
     _dlnaManager = dlnaManager;
     _appHost = appHost;
     _dtoService = dtoService;
     _logger = logManager.GetLogger("PlayTo");
 }
开发者ID:Nickolin,项目名称:MediaBrowser,代码行数:14,代码来源:PlayToServerEntryPoint.cs


示例18: ChannelManager

        public ChannelManager(IUserManager userManager, IDtoService dtoService, ILibraryManager libraryManager, ILogger logger, IServerConfigurationManager config, IFileSystem fileSystem, IUserDataManager userDataManager, IJsonSerializer jsonSerializer, ILocalizationManager localization)
        {
            _userManager = userManager;
            _dtoService = dtoService;
            _libraryManager = libraryManager;
            _logger = logger;
            _config = config;
            _fileSystem = fileSystem;
            _userDataManager = userDataManager;
            _jsonSerializer = jsonSerializer;
            _localization = localization;

            _refreshTimer = new Timer(s => _refreshedItems.Clear(), null, TimeSpan.FromHours(3), TimeSpan.FromHours(3));
        }
开发者ID:jmarsh0507,项目名称:MediaBrowser,代码行数:14,代码来源:ChannelManager.cs


示例19: LiveTvManager

        public LiveTvManager(IApplicationHost appHost, IServerConfigurationManager config, IFileSystem fileSystem, ILogger logger, IItemRepository itemRepo, IImageProcessor imageProcessor, IUserDataManager userDataManager, IDtoService dtoService, IUserManager userManager, ILibraryManager libraryManager, ITaskManager taskManager, ILocalizationManager localization, IJsonSerializer jsonSerializer)
        {
            _config = config;
            _fileSystem = fileSystem;
            _logger = logger;
            _itemRepo = itemRepo;
            _userManager = userManager;
            _libraryManager = libraryManager;
            _taskManager = taskManager;
            _localization = localization;
            _jsonSerializer = jsonSerializer;
            _dtoService = dtoService;
            _userDataManager = userDataManager;

            _tvDtoService = new LiveTvDtoService(dtoService, userDataManager, imageProcessor, logger, appHost);
        }
开发者ID:Ceten,项目名称:MediaBrowser,代码行数:16,代码来源:LiveTvManager.cs


示例20: PlayToManager

        public PlayToManager(ILogger logger, IServerConfigurationManager config, ISessionManager sessionManager, IHttpClient httpClient, IItemRepository itemRepository, ILibraryManager libraryManager, INetworkManager networkManager, IUserManager userManager, IDlnaManager dlnaManager, IServerApplicationHost appHost, IDtoService dtoService)
        {
            _locations = new ConcurrentDictionary<string, DateTime>();
            _tokenSource = new CancellationTokenSource();

            _logger = logger;
            _sessionManager = sessionManager;
            _httpClient = httpClient;
            _itemRepository = itemRepository;
            _libraryManager = libraryManager;
            _networkManager = networkManager;
            _userManager = userManager;
            _dlnaManager = dlnaManager;
            _appHost = appHost;
            _dtoService = dtoService;
            _config = config;
        }
开发者ID:Nickolin,项目名称:MediaBrowser,代码行数:17,代码来源:PlayToManager.cs



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# IDvInvocation类代码示例发布时间:2022-05-24
下一篇:
C# IDropInfo类代码示例发布时间: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