1 write to ProblemDetails
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
ProblemDetailsWrapper.cs (1)
37
ProblemDetails
= problemDetails;
18 references to ProblemDetails
Microsoft.AspNetCore.Mvc.Formatters.Xml (18)
ProblemDetailsWrapper.cs (18)
82
ProblemDetails
.Detail = value;
86
ProblemDetails
.Instance = value;
90
ProblemDetails
.Status = string.IsNullOrEmpty(value) ?
96
ProblemDetails
.Title = value;
100
ProblemDetails
.Type = value;
109
ProblemDetails
.Extensions.Add(name, value);
117
if (!string.IsNullOrEmpty(
ProblemDetails
.Detail))
121
ProblemDetails
.Detail);
124
if (!string.IsNullOrEmpty(
ProblemDetails
.Instance))
128
ProblemDetails
.Instance);
131
if (
ProblemDetails
.Status.HasValue)
134
writer.WriteValue(
ProblemDetails
.Status.Value);
138
if (!string.IsNullOrEmpty(
ProblemDetails
.Title))
142
ProblemDetails
.Title);
145
if (!string.IsNullOrEmpty(
ProblemDetails
.Type))
149
ProblemDetails
.Type);
152
foreach (var keyValuePair in
ProblemDetails
.Extensions)
176
return
ProblemDetails
;