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)
Syntax
public static T GetPlatformService<T>(
	string assemblyPath = null,
	string typeFullName = null
)
where T : class

Parameters

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

T
The type of the service to be instantiated.

Return Value

Type: T
An instance, or null.
Version Information

Rhino for Windows

Supported in: 6.4
See Also