C# Class DotNetNuke.Modules.Xml.Parameters.ParameterInfo

Represents a parameter
Mostra file Open project: DNNCommunity/DNN.XML Class Usage Examples

Public Methods

Method Description
GetValue ( ) : string

Determines parameter value based on applied settings.

IsArgumentRequired ( ) : bool

Determines whether the TypeArgument is required based on the ParameterType.

ParameterInfo ( ) : System

Instantiates a new instance of the Parameter module.

SupportsFallbackValue ( ) : bool

Determines whether the TypeArgument is allowed as a fallback value.

ToString ( ) : string

Determines parameter value based on applied settings

ToString ( Encoding encoding ) : string

Determines parameter value based on applied settings and on a given System.Text.Encoding

Private Methods

Method Description
ParseType ( string type ) : ParameterType

Converts a string representation of a ParameterType to its object value.

Method Details

GetValue() public method

Determines parameter value based on applied settings.
public GetValue ( ) : string
return string

IsArgumentRequired() public method

Determines whether the TypeArgument is required based on the ParameterType.
public IsArgumentRequired ( ) : bool
return bool

ParameterInfo() public method

Instantiates a new instance of the Parameter module.
public ParameterInfo ( ) : System
return System

SupportsFallbackValue() public method

Determines whether the TypeArgument is allowed as a fallback value.
public SupportsFallbackValue ( ) : bool
return bool

ToString() public method

Determines parameter value based on applied settings
public ToString ( ) : string
return string

ToString() public method

Determines parameter value based on applied settings and on a given System.Text.Encoding
public ToString ( Encoding encoding ) : string
encoding System.Text.Encoding
return string