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
)
Public Overrides Function GetService (
serviceType As Type
) As Object
public:
virtual Object^ GetService(
Type^ serviceType
) override
abstract GetService :
serviceType : Type -> Object
override GetService :
serviceType : Type -> Object
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 See Also