Dependency scope for Windsor container.
Inheritance: IDependencyScope
 /// <summary>
 ///     Gets all services for the specified type.
 /// </summary>
 /// <param name="serviceType">Type of the service.</param>
 /// <returns>A collection of services.</returns>
 public IEnumerable <object> GetServices(Type serviceType)
 {
     return(WindsorDependencyScope.TryResolveServices(this.container, serviceType));
 }
 /// <summary>
 ///     Gets the service for the specified type.
 /// </summary>
 /// <param name="serviceType">Type of the service.</param>
 /// <returns>A service.</returns>
 public object GetService(Type serviceType)
 {
     return(WindsorDependencyScope.TryResolveService(this.container, serviceType));
 }