Class EmptyReadOnlyCollection<T>
Factory for empty ReadOnlyCollection objects.
Inheritance
System.Object
EmptyReadOnlyCollection<T>
Namespace: System.Linq.CompilerServices
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public static class EmptyReadOnlyCollection<T> : Object
Type Parameters
Name | Description |
---|---|
T | Element type. |
Properties
Instance
Singleton instance of an empty ReadOnlyCollection with the specified element type.
Declaration
public static ReadOnlyCollection<T> Instance { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<T> |