C# Class RJH.CommandLineHelper.Parser.SwitchInfo

A simple internal class for passing back to the caller some information about the switch. The internals/implementation of this class has privillaged access to the contents of the SwitchRecord class.
Exibir arquivo Open project: suntong/lang

Public Methods

Method Description
SwitchInfo ( object rec ) : System

Constructor for the SwitchInfo class. Note, in order to hide to the outside world information not necessary to know, the constructor takes a System.Object (aka object) as it's registering type. If the type isn't of the correct type, an exception is thrown.

Method Details

SwitchInfo() public method

Constructor for the SwitchInfo class. Note, in order to hide to the outside world information not necessary to know, the constructor takes a System.Object (aka object) as it's registering type. If the type isn't of the correct type, an exception is thrown.
Thrown if the rec parameter is not of /// the type SwitchRecord.
public SwitchInfo ( object rec ) : System
rec object The SwitchRecord for which this class store information.
return System