Metalama 1.0 / / Metalama Documentation / Advanced API / Metalama.​Framework.​Engine.​Services / Global­Service­Provider / Implicit

Operator Implicit

Implicit(ServiceProvider<IGlobalService> to GlobalServiceProvider)

Declaration
public static implicit operator GlobalServiceProvider(ServiceProvider<IGlobalService> serviceProvider)
Parameters
Type Name Description
ServiceProvider<IGlobalService> serviceProvider
Returns
Type Description
GlobalServiceProvider

Implicit(GlobalServiceProvider to ServiceProvider<IGlobalService>)

Declaration
public static implicit operator ServiceProvider<IGlobalService>(GlobalServiceProvider serviceProvider)
Parameters
Type Name Description
GlobalServiceProvider serviceProvider
Returns
Type Description
ServiceProvider<IGlobalService>