Skip to content

Instantly share code, notes, and snippets.

@MNie
Created May 21, 2018 21:03
Show Gist options
  • Save MNie/37f4f9e9215185e92cd5fb6592c2897b to your computer and use it in GitHub Desktop.
Save MNie/37f4f9e9215185e92cd5fb6592c2897b to your computer and use it in GitHub Desktop.
internal class QueryTest
{
public readonly string Name;
public readonly string Arguments;
public readonly IEnumerable<string> Fields;
public QueryTest(string name, string arguments, IEnumerable<string> fields)
{
this.Name = name;
this.Arguments = arguments;
this.Fields = fields;
}
public override string ToString() =>
$"{{{this.Name}{this.Arguments}{{{string.Join(' ', this.Fields)}}}}}";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment