IScopedServiceProviderGetServiceTService Method  | 
 [This is preliminary documentation and is subject to change.]
            Retrieve a registered service from the container
            
 
    Namespace: 
   CSInfrastructure.IOC
    Assembly:
   CSInfrastructure (in CSInfrastructure.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
SyntaxTService GetService<TService>()
where TService : class
Type Parameters
- TService
 - The type of service to retrieve
 
Return Value
Type: 
TServiceAn instance of the requested type that is registered with the container
See Also