/// <summary>
 /// Get a service instance of a given service type.
 /// </summary>
 /// <param name="serviceType">
 /// The service type.
 /// </param>
 /// <returns>
 /// The service instance.
 /// </returns>
 public IService GetServiceInstance(Type serviceType)
 {
     return((IService)_container.GetInstance(serviceType));
 }
Beispiel #2
0
 public T Get <T> ()
 {
     return(_container.GetInstance <T>());
 }