/// <summary> /// Initialises a new instance of the <see cref="LegacyCommandParser"/> class. /// </summary> /// <param name="commandServiceHelper"> /// The command Service Helper. /// </param> /// <param name="logger"> /// The logger. /// </param> public LegacyCommandParser(ICommandServiceHelper commandServiceHelper, ILogger logger) { this.commandServiceHelper = commandServiceHelper; this.Log = logger; this.OverrideBotSilence = false; }
/// <summary> /// Initialises a new instance of the <see cref="FunCommand"/> class. /// </summary> /// <param name="source"> /// The source. /// </param> /// <param name="channel"> /// The channel. /// </param> /// <param name="args"> /// The args. /// </param> /// <param name="commandServiceHelper"> /// The message Service. /// </param> protected FunCommand( LegacyUser source, string channel, string[] args, ICommandServiceHelper commandServiceHelper) : base(source, channel, args, commandServiceHelper) { }
/// <summary> /// Initialises a new instance of the <see cref="Configcacheclear"/> class. /// </summary> /// <param name="source"> /// The source. /// </param> /// <param name="channel"> /// The channel. /// </param> /// <param name="args"> /// The args. /// </param> /// <param name="commandServiceHelper"> /// The message Service. /// </param> public Configcacheclear( LegacyUser source, string channel, string[] args, ICommandServiceHelper commandServiceHelper) : base(source, channel, args, commandServiceHelper) { }
/// <summary> /// Initialises a new instance of the <see cref="GenericCommand"/> class. /// </summary> /// <param name="commandServiceHelper"> /// The command Service Helper. /// </param> protected GenericCommand(ICommandServiceHelper commandServiceHelper) { // FIXME: ServiceLocator - genericlogger & legacydatabase this.Log = ServiceLocator.Current.GetInstance<ILogger>(); this.legacyDatabase = ServiceLocator.Current.GetInstance<ILegacyDatabase>(); this.CommandServiceHelper = commandServiceHelper; }
/// <summary> /// Initialises a new instance of the <see cref="Threadstatus"/> class. /// </summary> /// <param name="source"> /// The source. /// </param> /// <param name="channel"> /// The channel. /// </param> /// <param name="args"> /// The args. /// </param> /// <param name="commandServiceHelper"> /// The message Service. /// </param> public Threadstatus( LegacyUser source, string channel, string[] args, ICommandServiceHelper commandServiceHelper) : base(source, channel, args, commandServiceHelper) { }
/// <summary> /// Initialises a new instance of the <see cref="Notify"/> class. /// </summary> /// <param name="source"> /// The source. /// </param> /// <param name="channel"> /// The channel. /// </param> /// <param name="args"> /// The args. /// </param> /// <param name="commandServiceHelper"> /// The message Service. /// </param> public Notify(LegacyUser source, string channel, string[] args, ICommandServiceHelper commandServiceHelper) : base(source, channel, args, commandServiceHelper) { }
/// <summary> /// Initialises a new instance of the <see cref="Forget"/> class. /// </summary> /// <param name="source"> /// The source. /// </param> /// <param name="channel"> /// The channel. /// </param> /// <param name="args"> /// The args. /// </param> /// <param name="commandServiceHelper"> /// The message Service. /// </param> public Forget(LegacyUser source, string channel, string[] args, ICommandServiceHelper commandServiceHelper) : base(source, channel, args, commandServiceHelper) { // FIXME: ServiceLocator - keywordservice this.keywordService = ServiceLocator.Current.GetInstance<IKeywordService>(); }
/// <summary> /// Initialises a new instance of the <see cref="Access"/> class. /// </summary> /// <param name="source"> /// The source. /// </param> /// <param name="channel"> /// The channel. /// </param> /// <param name="args"> /// The args. /// </param> /// <param name="commandServiceHelper"> /// The message Service. /// </param> public Access(LegacyUser source, string channel, string[] args, ICommandServiceHelper commandServiceHelper) : base(source, channel, args, commandServiceHelper) { // FIXME: ServiceLocator - legacydatabase this.legacyDatabase = ServiceLocator.Current.GetInstance<ILegacyDatabase>(); }
/// <summary> /// Initialises a new instance of the <see cref="Welcomer"/> class. /// </summary> /// <param name="source"> /// The source. /// </param> /// <param name="channel"> /// The channel. /// </param> /// <param name="args"> /// The args. /// </param> /// <param name="commandServiceHelper"> /// The message Service. /// </param> public Welcomer(LegacyUser source, string channel, string[] args, ICommandServiceHelper commandServiceHelper) : base(source, channel, args, commandServiceHelper) { this.databaseSession = ServiceLocator.Current.GetInstance<ISession>(); }
/// <summary> /// Initialises a new instance of the <see cref="Electrocute"/> class. /// </summary> /// <param name="source"> /// The source. /// </param> /// <param name="channel"> /// The channel. /// </param> /// <param name="args"> /// The args. /// </param> /// <param name="commandServiceHelper"> /// The message Service. /// </param> public Electrocute(LegacyUser source, string channel, string[] args, ICommandServiceHelper commandServiceHelper) : base(source, channel, args, commandServiceHelper) { }
/// <summary> /// Initialises a new instance of the <see cref="CategoryWatcher"/> class. /// </summary> /// <param name="source"> /// The source. /// </param> /// <param name="channel"> /// The channel. /// </param> /// <param name="args"> /// The args. /// </param> /// <param name="commandServiceHelper"> /// The message Service. /// </param> public CategoryWatcher(LegacyUser source, string channel, string[] args, ICommandServiceHelper commandServiceHelper) : base(source, channel, args, commandServiceHelper) { }
/// <summary> /// Initialises a new instance of the <see cref="Delay"/> class. /// </summary> /// <param name="source"> /// The source. /// </param> /// <param name="channel"> /// The channel. /// </param> /// <param name="args"> /// The args. /// </param> /// <param name="messageService"> /// The message Service. /// </param> public Delay(LegacyUser source, string channel, string[] args, ICommandServiceHelper messageService) : base(source, channel, args, messageService) { }
/// <summary> /// Initialises a new instance of the <see cref="Google"/> class. /// </summary> /// <param name="commandServiceHelper"> /// The command Service Helper. /// </param> public Google(ICommandServiceHelper commandServiceHelper) : base(commandServiceHelper) { }
/// <summary> /// Initialises a new instance of the <see cref="GenericCommand"/> class. /// </summary> /// <param name="source"> /// The source. /// </param> /// <param name="channel"> /// The channel. /// </param> /// <param name="args"> /// The args. /// </param> /// <param name="commandServiceHelper"> /// The command Service Helper. /// </param> protected GenericCommand( LegacyUser source, string channel, string[] args, ICommandServiceHelper commandServiceHelper) : this(commandServiceHelper) { this.Source = source; this.Channel = channel; this.Arguments = args; }
/// <summary> /// Initialises a new instance of the <see cref="Registration"/> class. /// </summary> /// <param name="source"> /// The source. /// </param> /// <param name="channel"> /// The channel. /// </param> /// <param name="args"> /// The args. /// </param> /// <param name="commandServiceHelper"> /// The message Service. /// </param> public Registration(LegacyUser source, string channel, string[] args, ICommandServiceHelper commandServiceHelper) : base(source, channel, args, commandServiceHelper) { }