Show / Hide Table of Contents

Class GeoObjectChange

This class is used as a parameter in the ChangeDelegate event of IGeoObject (see WillChangeEvent).

Inheritance
System.Object
ReversibleChange
GeoObjectChange
Inherited Members
ReversibleChange.Undo()
ReversibleChange.MethodOrPropertyName
ReversibleChange.ObjectToChange
ReversibleChange.Parameters
ReversibleChange.IsMethod(String)
ReversibleChange.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: CADability.GeoObject
Assembly: CADability.dll
Syntax
public class GeoObjectChange : ReversibleChange

Constructors

| Improve this Doc View Source

GeoObjectChange(IGeoObject, ModOp)

Creates a new GeoObjectChange object that reflects a modification by the ModOp m.

Declaration
public GeoObjectChange(IGeoObject objectToChange, ModOp m)
Parameters
Type Name Description
IGeoObject objectToChange

The object which will be or was changed

ModOp m

the ModOp that changes or changed the object

| Improve this Doc View Source

GeoObjectChange(IGeoObject, String, Object[])

Creates a new GeoObjectChange object. See the appropriate constructor of ReversibleChange for details.

Declaration
public GeoObjectChange(IGeoObject objectToChange, string methodOrPropertyName, params object[] parameters)
Parameters
Type Name Description
IGeoObject objectToChange

The object which will be or was changed

System.String methodOrPropertyName

the case sensitive name of the method or property

System.Object[] parameters

The parameters neede to call this method or property

| Improve this Doc View Source

GeoObjectChange(IGeoObject, Type, String, Object[])

Creates a new GeoObjectChange object. See the appropriate constructor of ReversibleChange for details.

Declaration
public GeoObjectChange(IGeoObject objectToChange, Type interfaceForMethod, string methodOrPropertyName, params object[] parameters)
Parameters
Type Name Description
IGeoObject objectToChange

The object which will be or was changed

System.Type interfaceForMethod

the interface on which contains the method or property

System.String methodOrPropertyName

the case sensitive name of the method or property

System.Object[] parameters

The parameters neede to call this method or property

Fields

| Improve this Doc View Source

NoUndoNecessary

Notifies that this change doesn't require an undo operation

Declaration
public bool NoUndoNecessary
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

OnlyAttributeChanged

Notifies that only an attribute was changed in contrast to a change of the geometry.

Declaration
public bool OnlyAttributeChanged
Field Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX