CADability dotNET
The ReversibleChange type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ReversibleChange(Object, String, array<Object>[]()[][]) |
Creates a ReversibleChange object. MethodOrPropertyName must be the name (casesensitive!)
of a public method or property that reverses the change when called with the parameters
given in the parameter "Parameter". If parameters contains exactly 1 object, the Undo
method will first look for a set-property with that type to reverse the change. If there
is no set-property with that name and type then the system will look for a method
with this single parameter.
| |
ReversibleChange(Object, Type, String, array<Object>[]()[][]) |
Creates a ReversibleChange object. MethodOrPropertyName must be the name (casesensitive!)
of a public method or property that reverses the change when called with the parameters
given in the parameter "Parameter". If parameters contains exactly 1 object, the Undo
method will first look for a set-property with that type to reverse the change. If there
is no set-property with that name and type then the system will look for a method
with this single parameter.
|
Methods
Name | Description | |
---|---|---|
IsMethod |
Checks whether this ReversibleChange ist a method with the given name
| |
ToString |
Overrides objec.ToString()
(Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
MethodOrPropertyName |
Gets the method or property name for this ReversibleChange
| |
ObjectToChange |
Gets the objects which is changed by this ReversibleChange
| |
Parameters |
Gets the parameters, that can be used in the method call of this ReversibleChange
|