コード例 #1
0
ファイル: CommandModel.cs プロジェクト: tecknojock/slimCat
 /// <summary>
 ///     Initializes a new instance of the <see cref="CommandDataModel" /> struct.
 /// </summary>
 /// <param name="info">
 ///     The info.
 /// </param>
 /// <param name="args">
 ///     The args.
 /// </param>
 /// <param name="channelName">
 ///     The channel name.
 /// </param>
 public CommandDataModel(CommandModel info, IList <string> args, string channelName)
 {
     commandInformation = info;
     arguments          = args;
     this.channelName   = channelName;
 }
コード例 #2
0
ファイル: CommandModel.cs プロジェクト: Khayde/slimCat
 /// <summary>
 ///     Initializes a new instance of the <see cref="CommandDataModel" /> struct.
 /// </summary>
 /// <param name="info">
 ///     The info.
 /// </param>
 /// <param name="args">
 ///     The args.
 /// </param>
 /// <param name="channelName">
 ///     The channel name.
 /// </param>
 public CommandDataModel(CommandModel info, IList<string> args, string channelName)
 {
     commandInformation = info;
     arguments = args;
     this.channelName = channelName;
 }
コード例 #3
0
 public FluentCommandBuilder OfType(CommandModel.CommandTypes type)
 {
     CommandType = type;
     return this;
 }