C# Class PHP.Core.ApplicationConfiguration.CompilerSection

Inheritance: IPhpConfigurationSection
Exibir arquivo Open project: jadu/Phalanger Class Usage Examples

Private Properties

Property Type Description
CompilerSection System

Public Methods

Method Description
AddInclusionMapping ( string pattern, string replacement, string name ) : void

Adds an inclusion mapping.

ClearInclusionMappings ( ) : void

Clears the list of inclusion mappings.

Parse ( string name, string value, XmlNode node ) : bool

Loads configuration from XML node.

RemoveInclusionMappingByName ( string name ) : int

Removes all inclusion mappings having a specified name.

Private Methods

Method Description
CompilerSection ( ) : System

Initializes fields by default values.

Method Details

AddInclusionMapping() public method

Adds an inclusion mapping.
is not a valid regular expression pattern. or is null.
public AddInclusionMapping ( string pattern, string replacement, string name ) : void
pattern string A pattern. Should be valid regular expression pattern.
replacement string A replacement.
name string An optional name.
return void

ClearInclusionMappings() public method

Clears the list of inclusion mappings.
public ClearInclusionMappings ( ) : void
return void

Parse() public method

Loads configuration from XML node.
public Parse ( string name, string value, XmlNode node ) : bool
name string
value string
node XmlNode
return bool

RemoveInclusionMappingByName() public method

Removes all inclusion mappings having a specified name.
is null.
public RemoveInclusionMappingByName ( string name ) : int
name string A pattern to remove.
return int