C# Класс Ninject.Extensions.Xml.Processors.AbstractXmlAttributeProcessor

Abstract base implementation for attribute processors.
Наследование: Ninject.Components.NinjectComponent, IXmlAttributeProcessor
Показать файл Открыть проект

Открытые методы

Метод Описание
AppliesTo ( IOwnXmlNodeProcessor owner ) : bool

Specifies if the processor applies to the given owner.

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

Handles the attribute.

Защищенные методы

Метод Описание
AbstractXmlAttributeProcessor ( string attributeName, bool required, string parentTag ) : System.Linq

Initializes a new instance of the AbstractXmlAttributeProcessor class.

Описание методов

AbstractXmlAttributeProcessor() защищенный Метод

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.
Результат System.Linq

AppliesTo() публичный Метод

Specifies if the processor applies to the given owner.
public AppliesTo ( IOwnXmlNodeProcessor owner ) : bool
owner IOwnXmlNodeProcessor The owner.
Результат bool

Process() публичный абстрактный Метод

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.
Результат void