Show / Hide Table of Contents

Class SingleSuccessorList

Denotes a class optimized for a single element

Inheritance
object
SingleSuccessorList
Implements
ISuccessorList
IEnumerable<INotifiable>
IEnumerable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Expressions
Assembly: NMF.Expressions.dll
Syntax
public class SingleSuccessorList : ISuccessorList, IEnumerable<INotifiable>, IEnumerable

Properties

| Edit this page View Source

AllSuccessors

Declaration
public IEnumerable<INotifiable> AllSuccessors { get; }
Property Value
Type Description
IEnumerable<INotifiable>
| Edit this page View Source

Count

The number of elements

Declaration
public int Count { get; }
Property Value
Type Description
int
| Edit this page View Source

HasSuccessors

True, if there is any successor, otherwise False

Declaration
public bool HasSuccessors { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsAttached

True, if successors are attached, otherwise False

Declaration
public bool IsAttached { get; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

GetEnumerator()

Declaration
public IEnumerator<INotifiable> GetEnumerator()
Returns
Type Description
IEnumerator<INotifiable>
| Edit this page View Source

GetSuccessor(int)

Gets the successor at the given index

Declaration
public INotifiable GetSuccessor(int index)
Parameters
Type Name Description
int index

The index

Returns
Type Description
INotifiable

The DDG node with the given index

| Edit this page View Source

Set(INotifiable)

Add the given DDG node to the list

Declaration
public void Set(INotifiable node)
Parameters
Type Name Description
INotifiable node

The DDG node to add

| Edit this page View Source

SetDummy()

Sets a dummy

Declaration
public void SetDummy()
| Edit this page View Source

Unset(INotifiable, bool)

Unset the given DDG node as successor

Declaration
public void Unset(INotifiable node, bool leaveDummy = false)
Parameters
Type Name Description
INotifiable node

the DDG node

bool leaveDummy

True, to leave the dummy in operation, otherwise False

| Edit this page View Source

UnsetAll()

Clear the list

Declaration
public void UnsetAll()

Events

| Edit this page View Source

Attached

Declaration
public event EventHandler Attached
Event Type
Type Description
EventHandler
| Edit this page View Source

Detached

Declaration
public event EventHandler Detached
Event Type
Type Description
EventHandler

Implements

ISuccessorList
IEnumerable<T>
IEnumerable

Extension Methods

ExpressionExtensions.AsOne<T>(T)
ChunkExtensions.ChunkIndexed<T, TResult>(IEnumerable<T>, int, Func<IEnumerableExpression<(T, int)>, int, TResult>)
ChunkExtensions.Chunk<T, TResult>(IEnumerable<T>, int, Func<IEnumerableExpression<T>, int, TResult>)
ObservableExtensions.WithUpdates<T>(IEnumerable<T>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX