ReadOnlySpanParam<T> Struct
- Obsolete: Types with embedded references are not supported in this version of your compiler.
Holds the value and the name of a read-only 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 ReadOnlySpanParam<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. ReadOnlySpanParamExtensions provides the checks. The ReadOnlySpanParam<T>.Value property ends the chain.
Properties
| Name | Description |
|---|---|
| Name | Gets the name of the parameter. |
| Value | Gets the value of the parameter. |