1 write to State
Aspire.Hosting.RemoteHost.Tests (1)
tests\Shared\Logging\TestLogger.cs (1)
49State = state,
7 references to State
Aspire.Hosting.RemoteHost.Tests (7)
ExternalCapabilityRegistryTests.cs (4)
77var records = sink.Writes.Where(write => write.State is IEnumerable<KeyValuePair<string, object?>> state && 83var states = records.Select(write => ((IEnumerable<KeyValuePair<string, object?>>)write.State!).ToDictionary()).ToArray(); 382var records = sink.Writes.Where(write => write.State is IEnumerable<KeyValuePair<string, object?>> state && 393var states = records.Select(write => ((IEnumerable<KeyValuePair<string, object?>>)write.State!).ToDictionary()).ToArray();
tests\Shared\Logging\LogTestHelpers.cs (2)
19return GetValue(context.State, key); 25/// <param name="state">The log state object, typically from <see cref="WriteContext.State"/>.</param>
tests\Shared\Logging\WriteContext.cs (1)
26return Formatter?.Invoke(State, Exception);