Table of Contents

Delegate FilterList.PreFilterDelegate

Namespace
CADability.Attribute
Assembly
CADability.dll

Delegate definition for an FilterList event to allow pre-filtering of acceptance of IGeoObject objects.

public delegate void FilterList.PreFilterDelegate(FilterList filterList, IGeoObject go, out bool accepted, out bool doInternalFiltering)

Parameters

filterList FilterList

Filterlist, which issues the event

go IGeoObject

the object to check

accepted bool

Set true to accept, false to reject

doInternalFiltering bool

Set true to continue with filters from the list

Constructors

PreFilterDelegate(object, nint)

public PreFilterDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(FilterList, IGeoObject, out bool, out bool, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(FilterList filterList, IGeoObject go, out bool accepted, out bool doInternalFiltering, AsyncCallback callback, object @object)

Parameters

filterList FilterList
go IGeoObject
accepted bool
doInternalFiltering bool
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(out bool, out bool, IAsyncResult)

public virtual void EndInvoke(out bool accepted, out bool doInternalFiltering, IAsyncResult result)

Parameters

accepted bool
doInternalFiltering bool
result IAsyncResult

Invoke(FilterList, IGeoObject, out bool, out bool)

public virtual void Invoke(FilterList filterList, IGeoObject go, out bool accepted, out bool doInternalFiltering)

Parameters

filterList FilterList
go IGeoObject
accepted bool
doInternalFiltering bool