Table of Contents

Class AnchorFuncSource

Namespace
Hi.Mech.Topo
Assembly
HiMech.dll

Provides an anchor through a function delegate.

public class AnchorFuncSource : IGetAnchor, IGetTopoIndex
Inheritance
AnchorFuncSource
Implements
Inherited Members
Extension Methods

Constructors

AnchorFuncSource()

Initializes a new instance of the AnchorFuncSource class.

public AnchorFuncSource()

AnchorFuncSource(Func<Anchor>)

Initializes a new instance of the AnchorFuncSource class with the specified anchor function.

public AnchorFuncSource(Func<Anchor> anchorFunc)

Parameters

anchorFunc Func<Anchor>

The function that returns an anchor.

Properties

AnchorFunc

Gets or sets the function that returns an anchor.

public Func<Anchor> AnchorFunc { get; set; }

Property Value

Func<Anchor>

Methods

GetAnchor()

Get key anchor.

public Anchor GetAnchor()

Returns

Anchor

key anchor