HostUtils.GetPlatformService(T) Method (String, String)
Click or drag to resize

HostUtilsGetPlatformServiceT Method (String, String)

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

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
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.
Version Information

Rhino for Windows

Supported in: 6.7
See Also