C# Class Castle.MonoRail.Framework.Configuration.ServiceEntryCollection

Represents a set of MonoRail services entries
Inheritance: ISerializedConfig
Mostra file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
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.

Private Methods

Method Description
ToInterface ( ServiceIdentification id ) : Type

Method Details

Deserialize() public method

Deserializes the specified section.
public Deserialize ( XmlNode section ) : void
section System.Xml.XmlNode The section.
return void

GetService() public method

Gets the service.
public GetService ( ServiceIdentification id ) : Type
id ServiceIdentification The id.
return System.Type

HasService() public method

Determines whether it has service.
public HasService ( ServiceIdentification id ) : bool
id ServiceIdentification The id.
return bool

RegisterService() public method

Registers the service.
public RegisterService ( ServiceIdentification id, Type service ) : void
id ServiceIdentification The id.
service System.Type The service.
return void

RegisterService() public method

Registers the service.
public RegisterService ( Type inter, Type service ) : void
inter System.Type The inter.
service System.Type The service.
return void

ServiceEntryCollection() public method

Initializes a new instance of the ServiceEntryCollection class.
public ServiceEntryCollection ( ) : System
return System