public static FindService ( object context, |
||
context | object | |
serviceType | ||
Résultat | object |
public static object FindService(object context, Type serviceType)
{
if (serviceType == null)
throw new ArgumentNullException("serviceType");
return GetServiceProvider(context).GetService(serviceType);
}