Version 2.1.0.0

Flags class

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public static class Flags
This class encapsulates common System.Reflection.BindingFlags combinations.
Inheritance
  • System.Object
  • Flags

Fields

AllMembers
Search criteria encompassing all members (public and non-public, instance and static), including base members.
public const BindingFlags AllMembers = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy
AnyVisibility
Search criteria encompassing all public and non-public members, including base members. Note that you also need to specify either the Instance or Static flag.
public const BindingFlags AnyVisibility = BindingFlags.Public | BindingFlags.NonPublic
InstanceAnyDeclaredOnly
Search criteria encompassing all public and non-public instance members, excluding base members.
public const BindingFlags InstanceAnyDeclaredOnly = BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic
InstanceAnyVisibility
Search criteria encompassing all public and non-public instance members, including base members.
public const BindingFlags InstanceAnyVisibility = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic
InstancePrivate
Search criteria encompassing all non-public instance members, including base members.
public const BindingFlags InstancePrivate = BindingFlags.Instance | BindingFlags.NonPublic
InstancePrivateDeclaredOnly
Search criteria encompassing all non-public instance members, excluding base members.
public const BindingFlags InstancePrivateDeclaredOnly = BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.NonPublic
InstancePublic
Search criteria encompassing all public instance members, including base members.
public const BindingFlags InstancePublic = BindingFlags.Instance | BindingFlags.Public
InstancePublicDeclaredOnly
Search criteria encompassing all public instance members, excluding base members.
public const BindingFlags InstancePublicDeclaredOnly = BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public
StaticAnyDeclaredOnly
Search criteria encompassing all public and non-public static members, excluding base members.
public const BindingFlags StaticAnyDeclaredOnly = BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic
StaticAnyVisibility
Search criteria encompassing all public and non-public static members, including base members.
public const BindingFlags StaticAnyVisibility = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic
StaticInstanceAnyVisibility
Search criteria encompassing all members, including base and static members.
public const BindingFlags StaticInstanceAnyVisibility = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic
StaticPrivate
Search criteria encompassing all non-public static members, including base members.
public const BindingFlags StaticPrivate = BindingFlags.Static | BindingFlags.NonPublic
StaticPrivateDeclaredOnly
Search criteria encompassing all non-public static members, excluding base members.
public const BindingFlags StaticPrivateDeclaredOnly = BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.NonPublic
StaticPublic
Search criteria encompassing all public static members, including base members.
public const BindingFlags StaticPublic = BindingFlags.Static | BindingFlags.Public
StaticPublicDeclaredOnly
Search criteria encompassing all public static members, excluding base members.
public const BindingFlags StaticPublicDeclaredOnly = BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.Public