Gets the service object of the specified type.
Namespace:
AGI.Foundation.Geometry
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public virtual Object GetService(
Type serviceType
)
Public Overridable Function GetService (
serviceType As Type
) As Object
public:
virtual Object^ GetService(
Type^ serviceType
)
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