CADability dotNET
Helper class to wrap the setting of an attribute. Usually used in this way:
CopyC#
using (new ChangingAttribute(this,atrName,attribute))
{
    // ... set the attribute here ...
}
This will call FireWillChange(GeoObjectChange) before the attribute is changed and FireDidChange(GeoObjectChange) after the attribute was changed.

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

Syntax

C#
protected class ChangingAttribute : IGeoObjectImpl..::..Changing
Visual Basic
Protected Class ChangingAttribute _
	Inherits IGeoObjectImpl..::..Changing
Visual C++
protected ref class ChangingAttribute : public IGeoObjectImpl..::..Changing

Inheritance Hierarchy

System..::..Object
  CADability.GeoObject..::..IGeoObjectImpl..::..Changing
    CADability.GeoObject..::..IGeoObjectImpl..::..ChangingAttribute

See Also