private Query getQuery(CommandMessage message)
 {
     var query = "";
     if (message.Arguments.Count > 0)
         query = message.Arguments[0];
     var queryArgs = new QueryArgumentParser().Parse(query);
     if (queryArgs == null)
         return null;
     return new Query()
         {
             File = getValue(queryArgs, "file")
         };
 }
 private Query getQuery(CommandMessage message)
 {
     var query = "";
     if (message.Arguments.Count > 0)
         query = message.Arguments[0];
     var queryArgs = new QueryArgumentParser().Parse(query);
     if (queryArgs == null)
         return null;
     return new Query()
         {
             Language = getValue(queryArgs, "language"),
             Type = getValue(queryArgs, "type"),
             File = getValue(queryArgs, "file"),
             Signature = getValue(queryArgs, "signature"),
             Name = getValue(queryArgs, "name"),
             Parent = getValue(queryArgs, "parent"),
             Custom = getValue(queryArgs, "custom")
         };
 }
 public void Setup()
 {
     _parser = new QueryArgumentParser();
 }