Table of Contents

Delegate Model.RemovingGeoObject

Namespace
CADability
Assembly
CADability.dll

Delegate definition for the RemovingGeoObjectEvent. Setting cancel to true prevents the object beeing removed from the model.

public delegate void Model.RemovingGeoObject(IGeoObject go, ref bool cancel)

Parameters

go IGeoObject

Object to be added

cancel bool

Parameter to prevent the adding of the object

Constructors

RemovingGeoObject(object, nint)

public RemovingGeoObject(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(IGeoObject, ref bool, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(IGeoObject go, ref bool cancel, AsyncCallback callback, object @object)

Parameters

go IGeoObject
cancel bool
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(ref bool, IAsyncResult)

public virtual void EndInvoke(ref bool cancel, IAsyncResult result)

Parameters

cancel bool
result IAsyncResult

Invoke(IGeoObject, ref bool)

public virtual void Invoke(IGeoObject go, ref bool cancel)

Parameters

go IGeoObject
cancel bool