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
filterListFilterListFilterlist, which issues the event
goIGeoObjectthe object to check
acceptedboolSet true to accept, false to reject
doInternalFilteringboolSet true to continue with filters from the list
Constructors
PreFilterDelegate(object, nint)
public PreFilterDelegate(object @object, nint method)
Parameters
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
filterListFilterListgoIGeoObjectacceptedbooldoInternalFilteringboolcallbackAsyncCallbackobjectobject
Returns
EndInvoke(out bool, out bool, IAsyncResult)
public virtual void EndInvoke(out bool accepted, out bool doInternalFiltering, IAsyncResult result)
Parameters
acceptedbooldoInternalFilteringboolresultIAsyncResult
Invoke(FilterList, IGeoObject, out bool, out bool)
public virtual void Invoke(FilterList filterList, IGeoObject go, out bool accepted, out bool doInternalFiltering)
Parameters
filterListFilterListgoIGeoObjectacceptedbooldoInternalFilteringbool