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