Namespace that contains all kinds of utility implementations that are used throughout the
library, but could be used stand-alone, too.
Classes
| Class | Description | |
|---|---|---|
| AbstractContextLookupChainLink |
Abstract base class that simplifies the implementation of IContextLookupChainLink.
| |
| AbstractUndoUnit |
An abstract base implementation of IUndoUnit.
| |
| CallbackLookup |
Utility class that implements the ILookup interface
by delegating to a LookupCallback method.
| |
| CastingEnumerable<(Of <(<'R, T>)>)> |
An IEnumerable<(Of <(<'T>)>)> that casts items.
| |
| CastingEnumerator<(Of <(<'T>)>)> |
A wrapping implementation of an IEnumerator<(Of <(<'T>)>)>
that casts elements from a given non-generic enumerator to
another one.
| |
| CastingEnumerator<(Of <(<'R, T>)>)> |
A wrapping implementation of an IEnumerator<(Of <(<'T>)>)>
that upcasts elements from a given enumerator to
another one.
| |
| CompositeCollectionModel<(Of <(<'T>)>)> |
A ICollectionModel<(Of <(<'T>)>)> implementation that is the composite of two
models of the same type.
| |
| CompositeCollectionModel<(Of <(<'T, R, S>)>)> |
A ICollectionModel<(Of <(<'T>)>)> implementation that is the composite of two
models.
| |
| CompositeEnumerable<(Of <(<'T, R, S>)>)> |
A composite enumerable that enumerates two given enumerables one after the other.
| |
| CompositeEnumerator<(Of <(<'T, R, S>)>)> |
A composite enumerator that enumerates two given enumerators one after the other.
| |
| CompoundUndoUnit |
A generic support class that can manage IUndoUnit instances
to support undoability.
| |
| DelegateUndoUnit<(Of <(<'T>)>)> |
A convenience implementation of the IUndoUnit interface that uses simple delegates
for the actual undo and redo operations.
| |
| DictionaryLookup |
A simple mutable ILookup implementation that
is backed by a dictionary.
| |
| EmptyCollection<(Of <(<'T>)>)> |
A utility class that implements an immutable always empty ICollection<(Of <(<'T>)>)>.
| |
| EmptyEnumerable<(Of <(<'T>)>)> |
A utility class that implements an immutable always empty IEnumerable<(Of <(<'T>)>)>.
| |
| EmptyEnumerator<(Of <(<'T>)>)> |
A utility class that implements an always empty IEnumerator<(Of <(<'T>)>)>.
| |
| EmptyList<(Of <(<'T>)>)> |
A utility class that implements an immutable always empty ICollection<(Of <(<'T>)>)>.
| |
| EmptyListEnumerable<(Of <(<'T>)>)> |
A utility class that implements an immutable always empty IListEnumerable<(Of <(<'T>)>)>.
| |
| EventFilter<(Of <(<'T>)>)> |
An event "filter" implementation that can be used to collapse events within a given
time span and fire a final event after the time has elapsed.
| |
| FilteredCollectionModel<(Of <(<'T>)>)> |
A collection model that filters items from the underlying collection given a predicate function.
| |
| FilteredEnumerable<(Of <(<'T>)>)> |
An IEnumerable<(Of <(<'T>)>)> implementation that
applies a Predicate<(Of <(<'T>)>)> to determine which elements
to yield in the enumeration.
| |
| FilteredEnumerator<(Of <(<'T>)>)> |
An IEnumerator<(Of <(<'T>)>)> implementation that
applies a Predicate<(Of <(<'T>)>)> to filter a backing enumerator.
| |
| Future<(Of <(<'T>)>)> |
A helper holder class that can contain a Value
of a specific type.
| |
| GenericInvoker<(Of <(<'TResult, TParam>)>)> |
This is a utility class that makes it possible to call a parameterized method with 1,2, or 3 arguments
specifying the type parameters at runtime.
| |
| GenericListCell<(Of <(<'T>)>)> |
The cell class that constitutes GenericYList<(Of <(<'T>)>)>s.
| |
| GenericYList<(Of <(<'T>)>)> |
A generic linked list implementation.
| |
| HashSet<(Of <(<'T>)>)> |
An ICollection<(Of <(<'T>)>)> that obeys the 'set' semantics.
| |
| ItemInputEventArgs<(Of <(<'T>)>)> |
A subclass of ItemEventArgs<(Of <(<'T>)>)>
that stores a typed Item
and that can be marked as Handled.
| |
| LookupChain |
An implementation of a chain of IContextLookupChainLinks.
| |
| Lookups |
Static utility class that servers as a factory for various ILookup
implementations and provides static utility methods that simplify the usage of Lookup(Type)
calls.
| |
| MementoUndoableEdit |
An ICompoundEdit implementation that uses
IMementoSupport to track changes on a set of items.
| |
| MementoUndoUnit |
A simple IUndoUnit implementation that uses
a IMementoSupport to track, undo, and redo state changes
on a given subject.
| |
| SingleEnumerable<(Of <(<'T>)>)> |
An enumerable that enumerates a single item, only.
| |
| SingleEnumerator<(Of <(<'T>)>)> |
An enumerator that enumerates a single item, only.
| |
| SingletonCollection<(Of <(<'T>)>)> |
A lightweight collection that contains exactly one single item.
| |
| SingletonList<(Of <(<'T>)>)> |
A lightweight list that contains exactly one single item.
| |
| State |
A state for use in a StateMachine | |
| StateMachine |
A state machine implementation that can be used to manage complex
state and transitions.
| |
| TagOwnerMapper<(Of <(<'TItemType, TValue>)>)> |
A casting IMapper<(Of <(<'K, V>)>)> implementation that uses
the ITagOwner implementation of the IModelItem.
| |
| Transition |
A transition for use in a StateMachine.
| |
| TypedKey<(Of <(<'T>)>)> |
A utility class that can be used as a key in dictionary like use cases to provide type-safe values.
| |
| TypedKeyMapper |
A specialized IMapper<(Of <(<'K, V>)>)>-like implementation that
uses TypedKey<(Of <(<'T>)>)>s as the keys and their corresponding strongly typed
values as the values.
| |
| UndoEngine |
A generic support class that can manage IUndoUnit instances
to support undoability.
|
Structures
| Structure | Description | |
|---|---|---|
| MementoStateStruct |
A simple struct that holds a tuple consisting of an implementation
of IMementoSupport, an object instance and its state memento.
|
Interfaces
| Interface | Description | |
|---|---|---|
| ICompoundEdit |
The interface used by IUndoSupport's and UndoEngine's BeginCompoundEdit(String, String) implementation.
| |
| IContextLookup |
An interface for instances that can provide a ILookup capabilities
for a given object.
| |
| IContextLookupChainLink |
An interface for instances that can be used to chain lookup operations.
| |
| ILookup |
The basic lookup interface that allows for retrieving implementations
for different aspects of the current instance.
| |
| ILookupDecorator |
Interface that can be used to decorate the lookup result for a set of types.
| |
| ILookupProvider<(Of <(<'T>)>)> |
An interface for instances that can provide an ILookup implementation
for a given object.
| |
| IMementoSupport |
Utility interface that can be used in conjunction with MementoUndoUnit
to create IUndoUnit implementations.
| |
| ITagOwner |
Interface implemented by items that can be tagged with arbitrary objects.
| |
| IUndoSupport |
Interface that is mostly used in Lookup(Type) for entities
that support undoability.
| |
| IUndoUnit |
Implements a unit that can be undone and redone.
|
Delegates
| Delegate | Description | |
|---|---|---|
| DelegateUndoUnit<(Of <(<'T>)>)>..::..DoHandlerDelegate |
The delegate that is used by DelegateUndoUnit<(Of <(<'T>)>)>.
| |
| FactoryDelegate<(Of <(<'TResult, TContext>)>)> |
A generic factory method delegate that creates instances of a given type
and takes a context object of a given type.
| |
| LookupCallback |
Callback delegate that can be used to query results of a virtual Lookup(Type)
call on objects that don't necessarily implement ILookup.
| |
| StateEnteredHandler |
Callback method that will be called when a State
has been entered in a StateMachine.
| |
| StateExitedHandler |
Callback method that will be called when a State
has been exited in a StateMachine.
| |
| StateHandler |
Callback that is used by StateCreated
and StateRemoved | |
| TransitionDoneHandler |
Callback method that will be called when a Transition
has been traversed in a StateMachine.
| |
| TransitionHandler |
Callback that is used by TransitionCreated
and TransitionRemoved |