Table of Contents

Delegate BlockRef.ConstructionDelegate

Namespace
CADability.GeoObject
Assembly
CADability.dll

Signature of the factory method that Construct(Block) calls when one is registered in Constructor.

public delegate BlockRef BlockRef.ConstructionDelegate(Block referredBlock)

Parameters

referredBlock Block

The block the new reference refers to

Returns

BlockRef

A new BlockRef or an object of a class derived from BlockRef

Constructors

ConstructionDelegate(object, nint)

public ConstructionDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(Block, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(Block referredBlock, AsyncCallback callback, object @object)

Parameters

referredBlock Block
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual BlockRef EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

BlockRef

Invoke(Block)

public virtual BlockRef Invoke(Block referredBlock)

Parameters

referredBlock Block

Returns

BlockRef