Enumerates the different abilities of a field or property to be written (set). Values are ordered from most restrictive (None) to least restrictive (All).
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public enum WriteabilityFields
| Name | Description |
|---|---|
| All | The field or property can be set at any time (e.g., a non- |
| ConstructorOnly | The field or property can only be set from constructors of the declaring type (e.g., a |
| InitOnly | The property can be set from constructors or from object initializers (e.g., a property with an |
| None | The field or property cannot be set at any time (e.g., a |