PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelObject­Access­Level
Open sandboxFocus

ObjectAccessLevel Class

Enumeration of access levels that methods of execution scopes can require on an object.

Inheritance
ObjectAccessLevel
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class ObjectAccessLevel : Enum

Fields

Name Description
Inherit

Indicates that the access level is inherited from the outer scope.

None

None.

Read

Read-only.

Unchecked

Disables all runtime verification of access permissions.

Unknown

The required access level is unknown; maximal access is required.

UpgradeableRead

Read-only access that prevents other threads from acquiring Write or UpgradeableRead access.

value__
Write

Read-write.

Yield

Indicates that the control flow is passed to another object.