C# Класс Castle.MonoRail.Framework.Configuration.ServiceEntryCollection

Represents a set of MonoRail services entries
Наследование: ISerializedConfig
Показать файл Открыть проект

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

Метод Описание
Deserialize ( XmlNode section ) : void

Deserializes the specified section.

GetService ( ServiceIdentification id ) : Type

Gets the service.

HasService ( ServiceIdentification id ) : bool

Determines whether it has service.

RegisterService ( ServiceIdentification id, Type service ) : void

Registers the service.

RegisterService ( Type inter, Type service ) : void

Registers the service.

ServiceEntryCollection ( ) : System

Initializes a new instance of the ServiceEntryCollection class.

Приватные методы

Метод Описание
ToInterface ( ServiceIdentification id ) : Type

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

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

Deserializes the specified section.
public Deserialize ( XmlNode section ) : void
section System.Xml.XmlNode The section.
Результат void

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

Gets the service.
public GetService ( ServiceIdentification id ) : Type
id ServiceIdentification The id.
Результат System.Type

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

Determines whether it has service.
public HasService ( ServiceIdentification id ) : bool
id ServiceIdentification The id.
Результат bool

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

Registers the service.
public RegisterService ( ServiceIdentification id, Type service ) : void
id ServiceIdentification The id.
service System.Type The service.
Результат void

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

Registers the service.
public RegisterService ( Type inter, Type service ) : void
inter System.Type The inter.
service System.Type The service.
Результат void

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

Initializes a new instance of the ServiceEntryCollection class.
public ServiceEntryCollection ( ) : System
Результат System