SpanParam<T> Struct
- Obsolete: Types with embedded references are not supported in this version of your compiler.
Holds the value and the name of a span parameter, for a chain of checks.
[Obsolete("Types with embedded references are not supported in this version of your compiler.", true)]
public readonly ref struct SpanParam<T>Type parameters
T- The type of the items of the span.
Remarks
Param.Check starts a chain of checks, and returns an instance of this type. SpanParamExtensions provides the checks. The SpanParam<T>.Value property ends the chain.
Properties
| Name | Description |
|---|---|
| Name | Gets the name of the parameter. |
| Value | Gets the value of the parameter. |