AspNetWebApi.DependencyResolution.Unity.UnityDependencyScope.GetService C# (CSharp) Method

GetService() public method

public GetService ( Type serviceType ) : object
serviceType System.Type
return object
        public object GetService(Type serviceType)
        {
            return _container.IsRegistered(serviceType) ?
                _container.Resolve(serviceType) :
                null;
        }