bitflag enum · System.Reflection

BindingFlags

public bitflag enum BindingFlags

Which members to look at: instance or static ones, public or not, only the type's own.

Tipo
bitflag enum
Espacio de nombres
System.Reflection
Ensamblado
System.Core
Acceso
public
Archivo fuente
Reflection.ant

Valores

Default = 0
#
DeclaredOnly = 2
#
Instance = 4
#
Static = 8
#
Public = 16
#
NonPublic = 32
#

Métodos

ToString() : str
#

Métodos de extensión

HasFlag(T x) : bool
#

de System

Whether every bit of x is set ((flags & x) == x).

HasAny(T x) : bool
#

de System

Whether any bit of x is set.

With(T x) : T
#

de System

The flags with the bits of x set.

Without(T x) : T
#

de System

The flags with the bits of x cleared.

Toggle(T x) : T
#

de System

The flags with the bits of x flipped.

Código fuente

BindingFlags en Antril, descompilado a partir de su Larva HIR.

System.Reflection.BindingFlags.ant
// System.Reflection.BindingFlags — System.Core (decompiled from Larva HIR)

into namespace System.Reflection
{
	/// Which members to look at: instance or static ones, public or not, only the type's own.
	public bitflag enum BindingFlags { Default = 0, DeclaredOnly = 2, Instance = 4, Static = 8, Public = 16, NonPublic = 32 }
}
Esc