Exemple #1
0
 public CmdData(CmdCommands command, string entity, Guid entityGuid, Dictionary<string, string> props)
 {
     _command = command;
     _entityType = entity;
     _entityGuid = entityGuid;
     _properties = props;
     _isGuid = true;
 }
Exemple #2
0
        public CmdParser(string[] args)
        {
            this.args = args;

            command = (CmdCommands)Enum.Parse(typeof(CmdCommands), args[0], true);

            if (!CheckLine())
            {
                Console.WriteLine("Bad parameters.\n");
                Environment.Exit(0);
            }
        }
Exemple #3
0
 public CmdData(CmdCommands command, string entity, Dictionary<string, string> props) 
 {
     _command = command;
     _entityType = entity;
     _properties = props;
 }