C# Class System.Diagnostics.SwitchAttribute

Inheritance: System.Attribute
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method 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

Method Description
GetAllRecursive ( MemberInfo member, List switchAttribs ) : void
GetAllRecursive ( Type type, List switchAttribs ) : void

Method Details

GetAll() public static method

public static GetAll ( Assembly assembly ) : System.Diagnostics.SwitchAttribute[]
assembly System.Reflection.Assembly
return System.Diagnostics.SwitchAttribute[]

GetAll() public static method

public static GetAll ( System assembly ) : System.Diagnostics.SwitchAttribute[]
assembly System
return System.Diagnostics.SwitchAttribute[]

SwitchAttribute() public method

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

SwitchAttribute() public method

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