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

Represents a set of MonoRail services entries
Inheritance: ISerializedConfig
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode 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

Méthode Description
ToInterface ( ServiceIdentification id ) : Type

Method Details

Deserialize() public méthode

Deserializes the specified section.
public Deserialize ( XmlNode section ) : void
section System.Xml.XmlNode The section.
Résultat void

GetService() public méthode

Gets the service.
public GetService ( ServiceIdentification id ) : Type
id ServiceIdentification The id.
Résultat System.Type

HasService() public méthode

Determines whether it has service.
public HasService ( ServiceIdentification id ) : bool
id ServiceIdentification The id.
Résultat bool

RegisterService() public méthode

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

RegisterService() public méthode

Registers the service.
public RegisterService ( Type inter, Type service ) : void
inter System.Type The inter.
service System.Type The service.
Résultat void

ServiceEntryCollection() public méthode

Initializes a new instance of the ServiceEntryCollection class.
public ServiceEntryCollection ( ) : System
Résultat System