Class Capture<T>
- Namespace
- Mokkit
- Assembly
- Mokkit.dll
Represents a type-safe, explicit value capture used to carry a value produced during one test phase into a later one. Unlike Mokkit.Trapture`1, this type does not convert implicitly to the captured type — consumers must read Mokkit.Capture`1.Value explicitly, forcing the intent to be visible at the use site.
public class Capture<T> : ICapture<T>, ICaptureInitializer<T>Type Parameters
T-
The type of value to capture.
Inheritance
Implements
Inherited Members
Properties
Value
Gets the captured value.
public T? Value { get; }Property Value
- T?