C# Class Hiro.ServiceInfo

Describes a service that can be created by the container.
Inheritance: IServiceInfo
Afficher le fichier Open project: philiplaureano/Hiro

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool

Determines if the other object is equal to the current IServiceInfo instance.

GetHashCode ( ) : int

Calculates the hash code using the service name and service type.

ServiceInfo ( System serviceType, System implementingType, string serviceName ) : System

Initializes the class with the given serviceName and serviceType.

ToString ( ) : string

Method Details

Equals() public méthode

Determines if the other object is equal to the current IServiceInfo instance.
public Equals ( object obj ) : bool
obj object The other object that will be used in the comparison.
Résultat bool

GetHashCode() public méthode

Calculates the hash code using the service name and service type.
public GetHashCode ( ) : int
Résultat int

ServiceInfo() public méthode

Initializes the class with the given serviceName and serviceType.
public ServiceInfo ( System serviceType, System implementingType, string serviceName ) : System
serviceType System The type of service that can be created.
implementingType System The type that will implement the service type.
serviceName string The name of the service.
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string