C# Class Ninject.Extensions.Xml.Processors.ScopeXmlAttributeProcessor

Processes the scope attribute.
Inheritance: AbstractXmlAttributeProcessor
Mostrar archivo Open project: ninject/Ninject.Extensions.Xml

Public Methods

Method Description
Process ( string value, IOwnXmlNodeProcessor owner, IBindingConfigurationSyntax syntax ) : void

Handles the attribute.

ScopeXmlAttributeProcessor ( IEnumerable scopeHandlers ) : System.Collections.Generic

Initializes a new instance of the ScopeXmlAttributeProcessor class.

Private Methods

Method Description
GetInvalidScopeErrorMessage ( string scope, string parentElementName ) : string

Gets the invalid scope error message.

Method Details

Process() public method

Handles the attribute.
An unknown scope value was found.
public Process ( string value, IOwnXmlNodeProcessor owner, IBindingConfigurationSyntax syntax ) : void
value string The value of the attribute.
owner IOwnXmlNodeProcessor The owner of this instance.
syntax IBindingConfigurationSyntax The binding syntax.
return void

ScopeXmlAttributeProcessor() public method

Initializes a new instance of the ScopeXmlAttributeProcessor class.
public ScopeXmlAttributeProcessor ( IEnumerable scopeHandlers ) : System.Collections.Generic
scopeHandlers IEnumerable /// The scope processors. ///
return System.Collections.Generic