Пример #1
0
 public UptimeCommand(IRepository repository, IStreamingPlatform streamingPlatform,
                      ILoggerAdapter <UptimeCommand> logger)
     : base(repository)
 {
     _streamingPlatform = streamingPlatform;
     _logger            = logger;
 }
Пример #2
0
 public UptimeCommand(IRepository repository, IStreamingPlatform streamingPlatform,
                      ILoggerAdapter <UptimeCommand> logger)
     : base(repository, UserRole.Everyone)
 {
     _streamingPlatform = streamingPlatform;
     _logger            = logger;
     HelpText           = "Just type \"!uptime\" and it will tell you how long we've been streaming.";
 }
Пример #3
0
 public Task <bool> AddStreamingServiceToRoomAsync(IRoom room, IStreamingPlatform service)
 {
     throw new NotImplementedException();
 }
Пример #4
0
 public bool AddStreamingServiceToRoom(IRoom room, IStreamingPlatform service)
 {
     throw new NotImplementedException();
 }
Пример #5
0
 public ViewersCommand(IRepository repository, IStreamingPlatform streamingPlatform)
     : base(repository)
 {
     _streamingPlatform = streamingPlatform;
 }
Пример #6
0
 public ViewersCommand(IRepository repository, IStreamingPlatform streamingPlatform)
     : base(repository, UserRole.Everyone)
 {
     _streamingPlatform = streamingPlatform;
 }