Click or drag to resize

NavigationListT Class

Implements a list that can be used to navigate forward or backward using stored navigation points.
Inheritance Hierarchy
SystemObject
  Altaxo.CollectionsNavigationListT

Namespace: Altaxo.Collections
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class NavigationList<T>
where T : Object, IEquatable<T>

Type Parameters

T
Type of parameter that is used to restore the navigation points. In order to compare a navigation point to add with the current already present navigation point, the type must implement IEquatableT

The NavigationListT type exposes the following members.

Constructors
 NameDescription
Public methodNavigationListTInitializes a new instance of the NavigationListT class.
Public methodNavigationListT(Int32)Initializes a new instance of the NavigationListT class.
Top
Properties
 NameDescription
Public propertyCount Number of currently stored navigation points.
Top
Methods
 NameDescription
Public methodAddNavigationPoint Adds a navigation point to the list.
Public methodClear Clears all navigation points.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryNavigateBackward(T) Tries to go one point backward in the navigation list.
Public methodTryNavigateBackward(T, FuncT, Boolean, Boolean)Tries to go backward in the navigation list to the next valid navigation point.
Public methodTryNavigateForward(T) Tries to go one point forward in the navigation list.
Public methodTryNavigateForward(T, FuncT, Boolean, Boolean)Tries to go forward in the navigation list to the next valid navigation point.
Top
Remarks
Although this list can also be used for other purposes, it is developed for minimum storage requirements, but not for optimal performance. Internally, a list is used, so that removing of navigation points is relatively time consuming.
See Also