A lightweight list that contains exactly one single item.
Namespace: yWorks.SupportAssembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)
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>)>)>
yWorks.Support..::..SingleEnumerable<(Of <(<'T>)>)>
yWorks.Support..::..SingletonList<(Of <(<'T>)>)>