Created
May 21, 2018 21:03
-
-
Save MNie/37f4f9e9215185e92cd5fb6592c2897b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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