CADability dotNET
Changing a GeoObject with a specification on how to undo that change. Undo might be performed later vie reflection. So we need the name of the method here and the parameters for that method. The method must be in the given interface.

Namespace: CADability.GeoObject
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public Changing(
	IGeoObjectImpl geoObject,
	Type interfaceForMethod,
	string MethodOrPropertyName,
	params Object[] Parameters
)
Visual Basic
Public Sub New ( _
	geoObject As IGeoObjectImpl, _
	interfaceForMethod As Type, _
	MethodOrPropertyName As String, _
	ParamArray Parameters As Object() _
)
Visual C++
public:
Changing(
	IGeoObjectImpl^ geoObject, 
	Type^ interfaceForMethod, 
	String^ MethodOrPropertyName, 
	... array<Object^>^ Parameters
)

Parameters

geoObject
Type: CADability.GeoObject..::..IGeoObjectImpl
the GeoObject
interfaceForMethod
Type: System..::..Type
the type of the interface which contains the method
MethodOrPropertyName
Type: System..::..String
name of a public method that might be called later by undo
Parameters
Type: array<System..::..Object>[]()[][]
parameters for the method

See Also