C# Class DefaultNamespace.corcls

This utility displays the field, ctor, and method membership of a SSCLI class.
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Properties

Property Type Description
dumpModules bool
generateWeb bool
moduleName String
showClassNameOnly bool
showHelp bool

Public Methods

Method Description
Main ( String args ) : void

Main does all the real work. call the arg processor, show the help, and run throug the class list on the command line.

Protected Methods

Method Description
FindClass ( String className, Assembly module ) : Type

FindClass() will locate the classname using various search rules.

Private Methods

Method Description
processArgs ( String args ) : String[]

Process the arguments passed to the program. Set all the switches, and return the non-switch arguments (classnames) in an array of strings.

showClass ( Type cls ) : void

showClass() will take the given Class instance and display all the members.

showModule ( Assembly m ) : void

Shows the entire contents of the module.

Method Details

FindClass() protected static method

FindClass() will locate the classname using various search rules.
protected static FindClass ( String className, Assembly module ) : Type
className String
module System.Reflection.Assembly
return System.Type

Main() public static method

Main does all the real work. call the arg processor, show the help, and run throug the class list on the command line.
public static Main ( String args ) : void
args String
return void

Property Details

dumpModules public static property

public static bool dumpModules
return bool

generateWeb public static property

public static bool generateWeb
return bool

moduleName public property

public String moduleName
return String

showClassNameOnly public static property

public static bool showClassNameOnly
return bool

showHelp public static property

public static bool showHelp
return bool