Click or drag to resize
GameModeServiceContainerGetService Method (Type)
Gets the service object of the specified type.

Namespace: SampSharp.GameMode
Assembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
Syntax
public Object GetService(
	Type serviceType
)

Parameters

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

Return Value

Type: Object
A service object of type serviceType.-or- null if there is no service object of type serviceType.

Implements

IServiceProviderGetService(Type)
Exceptions
ExceptionCondition
ArgumentNullExceptionserviceType
See Also