Click or drag to resize

HostUtilsGetPlatformServiceT Method

For internal use only. Loads an assembly for dependency injection via IPlatformServiceLocator.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
public static T GetPlatformService<T>(
	string assemblyPath = null,
	string typeFullName = null
where T : class


assemblyPath (Optional)
Type: SystemString
The relative path of the assembly, relative to the position of RhinoCommon.dll
typeFullName (Optional)
Type: SystemString
The full name of the type that is IPlatformServiceLocator. This is optional.

Type Parameters

The type of the service to be instantiated.

Return Value

Type: T
An instance, or null.
See Also