Struct LoadableTypeCollection
- Namespace
- StreamJsonRpc
- Assembly
- StreamJsonRpc.dll
A collection of instantiable types.
public struct LoadableTypeCollection : IReadOnlyCollection<Type>, IEnumerable<Type>, IEnumerable
- Implements
- Inherited Members
- Extension Methods
Remarks
This collection is persistent (immutable) and thread-safe.
Properties
Count
public int Count { get; }
Property Value
Methods
Add(Type)
Adds a type to the collection.
public LoadableTypeCollection Add(Type type)
Parameters
type
TypeThe type to be added.
Returns
GetEnumerator()
Gets an enumerator over the Type elements of the collection.
public IEnumerator<Type> GetEnumerator()
Returns
- IEnumerator<Type>
The enumerator.