1 write to Data
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (1)
HealthReportEntry.cs (1)
47
Data
= data ?? _emptyReadOnlyDictionary;
13 references to Data
HealthChecksSample (1)
CustomWriterStartup.cs (1)
51
new JProperty("data", new JObject(pair.Value.
Data
.Select(p => new JProperty(p.Key, p.Value))))))))));
Microsoft.Extensions.Diagnostics.HealthChecks (2)
DefaultHealthCheckService.cs (2)
259
if (entry.
Data
.Count > 0 && logger.IsEnabled(LogLevel.Debug))
264
new HealthCheckDataLogValue(registration.Name, entry.
Data
),
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (10)
DefaultHealthCheckServiceTest.cs (10)
91
Assert.Empty(actual.Value.
Data
);
100
Assert.Collection(actual.Value.
Data
, item =>
113
Assert.Empty(actual.Value.
Data
);
145
Assert.Empty(actual.Value.
Data
);
154
Assert.Empty(actual.Value.
Data
);
193
Assert.Collection(actual.Value.
Data
, item =>
225
actual.Value.
Data
,
232
actual.Value.
Data
,
239
actual.Value.
Data
,
453
var healthCheck = (DisposableDependeciesCheck)results.Entries.Single().Value.
Data
.Single().Value;