AccessModifiers Enum

Summary

[Editor-Only] The C# access modifiers of a member.
Assembly
Weaver.dll
Namespace
Weaver.Editor.Procedural.Scripting
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["AccessModifiers"] class Type type-node

Syntax

[Flags]
public enum AccessModifiers

Remarks

Public/Internal/Protected/Private are sorted from least to most restrictive.

Attributes

Type Description
FlagsAttribute

Fields

Name Constant Value Summary
Abstract 256
static
Const 16
static
Internal 2
static
New 2048
static
None 0
static
Override 1024
static
Partial 4096
static
Private 8
static
Protected 4
static
Public 1
static
Readonly 64
static
Sealed 128
static
Static 32
static
Virtual 512
static

Extension Methods

Name Value Summary
AppendDeclaration(StringBuilder) void
Appends the C# declaration of the specified access `modifiers` to the `text`.
Contains(AccessModifiers) bool
Returns true if `modifiers` contains all of the flags specified in `contains`.
GetDeclaration() string
Returns the C# declaration of the specified access `modifiers`.