Table of Contents

Interface ISuccessorList

Namespace
NMF.Expressions
Assembly
NMF.Expressions.dll

Denotes an interface for a list of subsequent dependency graph nodes

public interface ISuccessorList
Extension Methods

Properties

Count

The number of elements

int Count { get; }

Property Value

int

HasSuccessors

True, if there is any successor, otherwise False

bool HasSuccessors { get; }

Property Value

bool

IsAttached

True, if successors are attached, otherwise False

bool IsAttached { get; }

Property Value

bool

Methods

GetSuccessor(int)

Gets the successor at the given index

INotifiable GetSuccessor(int index)

Parameters

index int

The index

Returns

INotifiable

The DDG node with the given index

Set(INotifiable)

Add the given DDG node to the list

void Set(INotifiable node)

Parameters

node INotifiable

The DDG node to add

SetDummy()

Sets a dummy

void SetDummy()

Unset(INotifiable, bool)

Unset the given DDG node as successor

void Unset(INotifiable node, bool leaveDummy = false)

Parameters

node INotifiable

the DDG node

leaveDummy bool

True, to leave the dummy in operation, otherwise False

UnsetAll()

Clear the list

void UnsetAll()