Click or drag to resize

MethodReturnT Constructor (T, Boolean, String)

Creates a new instance of the MethodReturn class.

Namespace:  CADSharpTools.Core
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public MethodReturn(
	T value,
	bool isError = false,
	string error = ""
)

Parameters

value
Type: T
Returned object.
isError (Optional)
Type: SystemBoolean
True if the method has successfully completed, false if not.
error (Optional)
Type: SystemString
The error message.
See Also