Click or drag to resize

StdTypesDebugGuiControl Constructor

Creates a debug adjustment control for the basic type.

Namespace:  KSPDev.DebugUtils
Assembly:  KSPDev_Utils.1.0 (in KSPDev_Utils.1.0.dll) Version: 1.0 for KSP v1.6+
Syntax
C#
public StdTypesDebugGuiControl(
	string caption,
	Object instance,
	IHasDebugAdjustables host = null,
	FieldInfo fieldInfo = null,
	PropertyInfo propertyInfo = null,
	MethodInfo methodInfo = null
)
Request Example View Source

Parameters

caption
Type: SystemString
The field caption to show in the dialog.
instance
Type: SystemObject
The instance of the object that holds the field to be adjusted via GUI.
host (Optional)
Type: KSPDev.DebugUtilsIHasDebugAdjustables
The class that should get the member change notifications. If not set, then instance will be the target.
fieldInfo (Optional)
Type: System.ReflectionFieldInfo
The field info of the target member.
propertyInfo (Optional)
Type: System.ReflectionPropertyInfo
The property info of the target member.
methodInfo (Optional)
Type: System.ReflectionMethodInfo
The action member info.
See Also