Interface IServiceFactory
Defines an interface for requesting service instances
Assembly: ImageVault.Common.dll
Syntax
public interface IServiceFactory
Methods
GetService(Type)
Gets a service instance of the specified type
Declaration
object GetService(Type serviceType)
Parameters
Type |
Name |
Description |
System.Type |
serviceType |
|
Returns
Type |
Description |
System.Object |
|
GetService<T>()
Gets a service instance of the specified type
Declaration
T GetService<T>()
where T : IService
Returns
Type Parameters
Extension Methods