C# Class Hiro.Loaders.ServicePicker

Represents a class that determines the default service implementation from a list of service implementations.
Inheritance: IServicePicker
显示文件 Open project: philiplaureano/Hiro

Public Methods

Method Description
ChooseDefaultServiceFrom ( System serviceType, IEnumerable services ) : IServiceInfo

Determines which IServiceInfo instance should be used as the default service.

Method Details

ChooseDefaultServiceFrom() public method

Determines which IServiceInfo instance should be used as the default service.
public ChooseDefaultServiceFrom ( System serviceType, IEnumerable services ) : IServiceInfo
serviceType System The service type.
services IEnumerable The list of services.
return IServiceInfo