A lightweight list that contains exactly one single item.

Namespace: yWorks.Support
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public sealed class SingletonList<T> : SingleEnumerable<T>, IList<T>, ICollection<T>, IListEnumerable<T>, IEnumerable<T>, IEnumerable where T : class
Visual Basic
Public NotInheritable Class SingletonList(Of T As Class) _ Inherits SingleEnumerable(Of T) _ Implements IList(Of T), ICollection(Of T), _ IListEnumerable(Of T), IEnumerable(Of T), IEnumerable

Type Parameters

T
The type of the item and enumerable.

Inheritance Hierarchy

System..::..Object
  yWorks.Support..::..SingleEnumerable<(Of <(<'T>)>)>
    yWorks.Support..::..SingletonList<(Of <(<'T>)>)>

See Also