Class ProtoClockRegistry
The clocks of the tests one host is currently running, keyed by test id. One registry belongs to one host, so two hosts that share a test id each resolve their own clock, and disposing the host clears it. An in-process hosting integration links a request the test caused back to the test's clock through the owning host's registry: the registry is a host service, so resolving it from the test's provider yields exactly the host that started the application, and Find(string) is the public lookup an in-process transport or middleware uses.
public sealed class ProtoClockRegistry
- Inheritance
-
ProtoClockRegistry
- Inherited Members
- Extension Methods
Methods
Find(string)
Finds the clock of the test with the given id, or null when it is not running.
public ProtoClock? Find(string testId)
Parameters
testIdstring