Exemplo n.º 1
0
            public SearchCommand(ISearchFactory factory, string cmdPath)
            {
                this.factory = factory;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Exemplo n.º 2
0
            public PlayCommand(string audioType, string cmdPath)
            {
                this.audioType = audioType;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Exemplo n.º 3
0
            public PlayListCommand(IPlaylistFactory factory, string cmdPath)
            {
                this.factory = factory;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Exemplo n.º 4
0
            public SearchCommand(ISearchResolver resolver, string cmdPath)
            {
                this.resolver = resolver;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Exemplo n.º 5
0
            public PlayListCommand(IPlaylistResolver resolver, string cmdPath)
            {
                this.resolver = resolver;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Exemplo n.º 6
0
            public PlayCommand(AudioType audioType)
            {
                this.audioType = audioType;
                var builder = new CommandBuildInfo(
                    this,
                    playMethod,
                    new CommandAttribute(CommandRights.Private, string.Empty),
                    null);

                Command = new BotCommand(builder);
            }
Exemplo n.º 7
0
            public PlayListCommand(AudioType audioType, string cmdPath)
            {
                this.audioType = audioType;
                var builder = new CommandBuildInfo(
                    this,
                    playMethod,
                    new CommandAttribute(cmdPath),
                    null);

                Command = new BotCommand(builder);
            }
Exemplo n.º 8
0
		public WrappedCommand(int invNum, PluginProxy wrapParent, CommandBuildInfo data) : base(data)
		{
			proxy = wrapParent;
			mId = invNum;
		}
Exemplo n.º 9
0
		public WrappedCommand(int invNum, PluginProxy wrapParent, CommandBuildInfo data) : base(data)
		{
			proxy = wrapParent;
			mId = invNum;
		}