Header menu logo OutlineAlgorithm

InteropTree<'a> Type

Simple tree structure used across F# and C# APIs.

Constructors

Constructor Description

InteropTree(value, children)

Full Usage: InteropTree(value, children)

Parameters:
Returns: InteropTree<'a>
value : 'a option
children : InteropTree<'a> seq
Returns: InteropTree<'a>

Instance members

Instance member Description

this.Children

Full Usage: this.Children

Returns: InteropTree<'a> seq

Gets the child nodes of this tree node as a fully evaluated sequence, safe to enumerate multiple times without deferred execution.

Returns: InteropTree<'a> seq

this.HasValue

Full Usage: this.HasValue

Returns: bool

Indicates whether this node has a value (i.e., is not None).

Returns: bool

this.Value

Full Usage: this.Value

Returns: 'a option

Gets the optional value of this node.

Returns: 'a option

this.ValueOrDefault

Full Usage: this.ValueOrDefault

Returns: 'a

Gets the contained value if present, otherwise returns the default value of type 'a.

Returns: 'a

Type something to start searching.