コード例 #1
0
 public InterpreterItem(string name, string description, string auto_complete, Bitmap icon, OwnerType type, string text)
 {
     _name           = name;
     _description    = description;
     _auto_complete  = auto_complete;
     _icon           = icon;
     _command_name   = string.Empty;
     _command_tokens = null;
     _command_usage  = null;
     _owner_type     = type;
     _plugin_id      = string.Empty;
     _text           = text;
 }
コード例 #2
0
ファイル: CommandUsage.cs プロジェクト: erisonliang/Blaze
 public CommandUsage(CommandUsage usage)
 {
     _name         = usage.Name;
     _arguments    = new List <string>(usage.Arguments);
     _completeness = new Dictionary <string, bool>(usage.Completeness);
 }