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

Abstract base implementation for attribute processors.
Inheritance: Ninject.Components.NinjectComponent, IXmlAttributeProcessor
Afficher le fichier Open project: ninject/Ninject.Extensions.Xml

Méthodes publiques

Méthode Description
AppliesTo ( IOwnXmlNodeProcessor owner ) : bool

Specifies if the processor applies to the given owner.

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

Handles the attribute.

Méthodes protégées

Méthode Description
AbstractXmlAttributeProcessor ( string attributeName, bool required, string parentTag ) : System.Linq

Initializes a new instance of the AbstractXmlAttributeProcessor class.

Method Details

AbstractXmlAttributeProcessor() protected méthode

Initializes a new instance of the AbstractXmlAttributeProcessor class.
protected AbstractXmlAttributeProcessor ( string attributeName, bool required, string parentTag ) : System.Linq
attributeName string The name of the attribute processed by this processor.
required bool if set to true the attribute is required.
parentTag string The tag that is expected on the owner to apply as child attribute processor.
Résultat System.Linq

AppliesTo() public méthode

Specifies if the processor applies to the given owner.
public AppliesTo ( IOwnXmlNodeProcessor owner ) : bool
owner IOwnXmlNodeProcessor The owner.
Résultat bool

Process() public abstract méthode

Handles the attribute.
public abstract 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.
Résultat void