Enumerates the different abilities of a field or property to be written (set).
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public enum Writeability
Fields
Name | Description |
---|---|
All | The field or property can be set at all times (e.g. this is a non- |
ConstructorOnly | The field or property can only be set from the constructor (e.g. it is a |
InitOnly | The property can be set from constructor or from the initializer (e.g. it is a property with an |
None | The field or property cannot be set (e.g. it is a read-only non-automatic property or a const field ). |