ImmutableAttribute(ImmutabilityKind)
Initializes a new instance of the ImmutableAttribute class.
Declaration
public ImmutableAttribute(ImmutabilityKind kind = ImmutabilityKind.Shallow)
Parameters
Type | Name | Description |
---|---|---|
ImmutabilityKind | kind | The kind of immutability of the target type. The default value is Shallow. |