MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeWriteability
Open sandboxFocus

Writeability Class

Enumerates the different abilities of a field or property to be written (set).

Inheritance
System.Object
Writeability
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class Writeability : Enum

Fields

Name Description
All

The field or property can be set at all times (e.g. this is a non-readonly field or a property with a set accessor).

ConstructorOnly

The field or property can only be set from the constructor (e.g. it is a readonly field or an automatic property with a sole get accessor).

InitOnly

The property can be set from constructor or from the initializer (e.g. it is a property with an init accessor).

None

The field or property cannot be set (e.g. it is a read-only non-automatic property or a const field ).

value__