Get service of the specified type

Namespace: Composite.Core
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public static Object GetService(
	Type serviceType
)
Visual Basic
Public Shared Function GetService ( _
	serviceType As Type _
) As Object
Visual C++
public:
static Object^ GetService(
	Type^ serviceType
)

Parameters

serviceType
Type: System..::..Type
The type of service object to get

Return Value

A service object of type serviceType or null if there is no such service

See Also