Implemented interface member:
property
Client
Microsoft.DotNet.Helix.Client.IServiceOperations<T>.Client
1 write to Client
Microsoft.DotNet.Helix.Client (1)
generated-code\WorkItem.cs (1)
58
Client
= client ?? throw new ArgumentNullException(nameof(client));
45 references to Client
Microsoft.DotNet.Helix.Client (45)
generated-code\WorkItem.cs (45)
93
var _baseUri =
Client
.Options.BaseUri;
97
"/api/jobs/{job}/workitems/{id}/files/{file}".Replace("{job}", Uri.EscapeDataString(
Client
.Serialize(job))).Replace("{id}", Uri.EscapeDataString(
Client
.Serialize(id))).Replace("{file}", Uri.EscapeDataString(
Client
.Serialize(file))),
102
_url.AppendQuery("latestOnly",
Client
.Serialize(latestOnly));
104
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
107
using (var _req =
Client
.Pipeline.CreateRequest())
112
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
144
Client
.Deserialize<Models.ApiError>(content)
148
Client
.OnFailedRequest(ex);
174
var _baseUri =
Client
.Options.BaseUri;
178
"/api/jobs/{job}/workitems/{id}/files".Replace("{job}", Uri.EscapeDataString(
Client
.Serialize(job))).Replace("{id}", Uri.EscapeDataString(
Client
.Serialize(id))),
183
_url.AppendQuery("latestOnly",
Client
.Serialize(latestOnly));
185
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
188
using (var _req =
Client
.Pipeline.CreateRequest())
193
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
208
var _body =
Client
.Deserialize<IImmutableList<Models.UploadedFile>>(_content);
230
Client
.Deserialize<Models.ApiError>(content)
234
Client
.OnFailedRequest(ex);
259
var _baseUri =
Client
.Options.BaseUri;
263
"/api/jobs/{job}/workitems/{id}/console".Replace("{job}", Uri.EscapeDataString(
Client
.Serialize(job))).Replace("{id}", Uri.EscapeDataString(
Client
.Serialize(id))),
266
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
269
using (var _req =
Client
.Pipeline.CreateRequest())
274
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
306
Client
.Deserialize<Models.ApiError>(content)
310
Client
.OnFailedRequest(ex);
329
var _baseUri =
Client
.Options.BaseUri;
333
"/api/jobs/{job}/workitems".Replace("{job}", Uri.EscapeDataString(
Client
.Serialize(job))),
336
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
339
using (var _req =
Client
.Pipeline.CreateRequest())
344
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
359
var _body =
Client
.Deserialize<IImmutableList<Models.WorkItemSummary>>(_content);
381
Client
.Deserialize<Models.ApiError>(content)
385
Client
.OnFailedRequest(ex);
410
var _baseUri =
Client
.Options.BaseUri;
414
"/api/jobs/{job}/workitems/{id}".Replace("{job}", Uri.EscapeDataString(
Client
.Serialize(job))).Replace("{id}", Uri.EscapeDataString(
Client
.Serialize(id))),
417
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
420
using (var _req =
Client
.Pipeline.CreateRequest())
425
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
440
var _body =
Client
.Deserialize<Models.WorkItemDetails>(_content);
462
Client
.Deserialize<Models.ApiError>(content)
466
Client
.OnFailedRequest(ex);