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

Factory for the binding builder.
Наследование: Ninject.Components.NinjectComponent, IBindingBuilderFactory
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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