C# Class System.Diagnostics.SwitchAttribute

Inheritance: System.Attribute
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
GetAll ( Assembly assembly ) : System.Diagnostics.SwitchAttribute[]
GetAll ( System assembly ) : System.Diagnostics.SwitchAttribute[]
SwitchAttribute ( string switchName, Type switchType )
SwitchAttribute ( string switchName, Type switchType ) : System

Private Methods

Méthode Description
GetAllRecursive ( MemberInfo member, List switchAttribs ) : void
GetAllRecursive ( Type type, List switchAttribs ) : void

Method Details

GetAll() public static méthode

public static GetAll ( Assembly assembly ) : System.Diagnostics.SwitchAttribute[]
assembly System.Reflection.Assembly
Résultat System.Diagnostics.SwitchAttribute[]

GetAll() public static méthode

public static GetAll ( System assembly ) : System.Diagnostics.SwitchAttribute[]
assembly System
Résultat System.Diagnostics.SwitchAttribute[]

SwitchAttribute() public méthode

public SwitchAttribute ( string switchName, Type switchType )
switchName string
switchType System.Type

SwitchAttribute() public méthode

public SwitchAttribute ( string switchName, Type switchType ) : System
switchName string
switchType System.Type
Résultat System