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

Factory for the binding builder.
상속: Ninject.Components.NinjectComponent, IBindingBuilderFactory
파일 보기 프로젝트 열기: ninject/Ninject.Extensions.Xml 1 사용 예제들

공개 메소드들

메소드 설명
Create ( System.Xml.Linq.XElement element, IBindingRoot module ) : IBindingConfigurationSyntax

Creates a new binding builder and returns its binding syntax.

비공개 메소드들

메소드 설명
GetTypeFromAttributeValue ( System.Xml.Linq.XAttribute attribute ) : Type

Gets the type from attribute value.

HandleToAttribute ( System.Xml.Linq.XElement element, IBindingToSyntax builder ) : IBindingWhenInNamedWithOrOnSyntax

Tries to handle the to attribute.

HandleToProviderAttribute ( System.Xml.Linq.XElement element, IBindingToSyntax builder ) : IBindingWhenInNamedWithOrOnSyntax

Tries to handle the ToProvider attribute.

VerifyElementHasExactlyOneToAttribute ( System.Xml.Linq.XElement element ) : void

Verifies that the specified element has exactly one "to" attribute.

메소드 상세

Create() 공개 메소드

Creates a new binding builder and returns its binding syntax.
public Create ( System.Xml.Linq.XElement element, IBindingRoot module ) : IBindingConfigurationSyntax
element System.Xml.Linq.XElement The element.
module IBindingRoot The module.
리턴 IBindingConfigurationSyntax