C# Class Hiro.ServiceInfo

Describes a service that can be created by the container.
Inheritance: IServiceInfo
Show file Open project: philiplaureano/Hiro

Public Methods

Method 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 method

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.
return bool

GetHashCode() public method

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

ServiceInfo() public method

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.
return System

ToString() public method

public ToString ( ) : string
return string