示例#1
0
        public AsyncSpacexNotificationsSender(DiscordSocketClient client, ISpacexNotifications notifications, ISpacexInfo spacex)
        {
            _client        = client;
            _notifications = notifications;
            _spacex        = spacex;

            _thread = Task.Run(ThreadEntry);
        }
示例#2
0
 public AsyncSpacexNotificationsSender(DiscordSocketClient client, ISpacexNotifications notifications, ISpacexInfo spacex)
 {
     _client        = client;
     _notifications = notifications;
     _spacex        = spacex;
 }
示例#3
0
文件: SpaceX.cs 项目: Chronojam/Mute
 public SpaceX(ISpacexInfo spacex, ISpacexNotifications notifications)
 {
     _spacex        = spacex;
     _notifications = notifications;
 }
示例#4
0
 public SpaceX(ISpacexInfo spacex, ISpacexNotifications notifications, Random rng)
 {
     _spacex        = spacex;
     _notifications = notifications;
     _rng           = rng;
 }