C# Класс Hiro.ServiceInfo

Describes a service that can be created by the container.
Наследование: IServiceInfo
Показать файл Открыть проект

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

Метод Описание
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

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

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

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.
Результат bool

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

Calculates the hash code using the service name and service type.
public GetHashCode ( ) : int
Результат int

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

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.
Результат System

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

public ToString ( ) : string
Результат string