Implemented interface member:
property
Client
Microsoft.DotNet.Helix.Client.IServiceOperations<T>.Client
1 write to Client
Microsoft.DotNet.Helix.Client (1)
generated-code\Machine.cs (1)
39
Client
= client ?? throw new ArgumentNullException(nameof(client));
18 references to Client
Microsoft.DotNet.Helix.Client (18)
generated-code\Machine.cs (18)
73
var _baseUri =
Client
.Options.BaseUri;
77
"/api/machines/{queueId}/{machineName}/state".Replace("{queueId}", Uri.EscapeDataString(
Client
.Serialize(queueId))).Replace("{machineName}", Uri.EscapeDataString(
Client
.Serialize(machineName))),
80
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
83
using (var _req =
Client
.Pipeline.CreateRequest())
90
_req.Content = RequestContent.Create(Encoding.UTF8.GetBytes(
Client
.Serialize(body)));
94
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
122
Client
.Deserialize<Models.ApiError>(content)
126
Client
.OnFailedRequest(ex);
151
var _baseUri =
Client
.Options.BaseUri;
155
"/api/machines/{queueId}/{machineName}/state".Replace("{queueId}", Uri.EscapeDataString(
Client
.Serialize(queueId))).Replace("{machineName}", Uri.EscapeDataString(
Client
.Serialize(machineName))),
158
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
161
using (var _req =
Client
.Pipeline.CreateRequest())
166
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
181
var _body =
Client
.Deserialize<Models.MachineInformation>(_content);
203
Client
.Deserialize<Models.ApiError>(content)
207
Client
.OnFailedRequest(ex);