public SearchCommand(ISearchFactory factory, string cmdPath) { this.factory = factory; var builder = new CommandBuildInfo( this, Method, new CommandAttribute(cmdPath)); Command = new BotCommand(builder); }
public PlayCommand(string audioType, string cmdPath) { this.audioType = audioType; var builder = new CommandBuildInfo( this, Method, new CommandAttribute(cmdPath)); Command = new BotCommand(builder); }
public PlayListCommand(IPlaylistFactory factory, string cmdPath) { this.factory = factory; var builder = new CommandBuildInfo( this, Method, new CommandAttribute(cmdPath)); Command = new BotCommand(builder); }
public SearchCommand(ISearchResolver resolver, string cmdPath) { this.resolver = resolver; var builder = new CommandBuildInfo( this, Method, new CommandAttribute(cmdPath)); Command = new BotCommand(builder); }
public PlayListCommand(IPlaylistResolver resolver, string cmdPath) { this.resolver = resolver; var builder = new CommandBuildInfo( this, Method, new CommandAttribute(cmdPath)); Command = new BotCommand(builder); }
public PlayCommand(AudioType audioType) { this.audioType = audioType; var builder = new CommandBuildInfo( this, playMethod, new CommandAttribute(CommandRights.Private, string.Empty), null); Command = new BotCommand(builder); }
public PlayListCommand(AudioType audioType, string cmdPath) { this.audioType = audioType; var builder = new CommandBuildInfo( this, playMethod, new CommandAttribute(cmdPath), null); Command = new BotCommand(builder); }
public WrappedCommand(int invNum, PluginProxy wrapParent, CommandBuildInfo data) : base(data) { proxy = wrapParent; mId = invNum; }