Property KeyValueStorage
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
KeyValueStorage
Stores key/value pairs that are available across all stages of the pipeline. Can be used to communicate between extensions at different execution stages, in both directions, as a single storage container is used for the entire pipeline.
Dictionary<string, object?> KeyValueStorage { get; }
Property Value
Remarks
This storage system is purely for communication between extension points. The values in here are thrown away after the pipeline execution is complete. It is strongly recommend that extensions either prefix their key names or use guaranteed unique IDs like GUIDs, to prevent collisions with other extension authors.