Click or drag to resize

PlatformGetService Method

Gets the service object of the specified type.

Namespace:  AGI.Foundation.Platforms
Assembly:  AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public override Object GetService(
	Type serviceType
)

Parameters

serviceType
Type: SystemType
An object that specifies the type of service object to get.

Return Value

Type: Object
The found service, or if the service does not exist.

Implements

IServiceProviderGetService(Type)
Exceptions
ExceptionCondition
ArgumentNullException Thrown when serviceType is .
See Also