C# 클래스 Ninject.Extensions.Xml.Processors.AbstractXmlAttributeProcessor

Abstract base implementation for attribute processors.
상속: Ninject.Components.NinjectComponent, IXmlAttributeProcessor
파일 보기 프로젝트 열기: ninject/Ninject.Extensions.Xml

공개 메소드들

메소드 설명
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