Exemplo n.º 1
0
 public Manager(string projectID, string host)
 {
     client     = new GraphQL.Client.Http.GraphQLHttpClient(host, new GraphQL.Client.Serializer.Newtonsoft.NewtonsoftJsonSerializer());
     _projectID = projectID;
 }
Exemplo n.º 2
0
 public Manager(string apiKey, string projectID, string host)
 {
     client = new GraphQL.Client.Http.GraphQLHttpClient(host, new GraphQL.Client.Serializer.Newtonsoft.NewtonsoftJsonSerializer());
     Task.Run(() => UseProtectedAPI(apiKey)).Wait();
     _projectID = projectID;
 }