FeatureCollection
class
Namespace: Orleans.Connections.Transport
Default implementation for
IFeatureCollection. public class FeatureCollection : IFeatureCollection, IEnumerable<KeyValuePair<Type, object>>, IEnumerableConstructors
FeatureCollectionInitializes a new instance ofFeatureCollection.FeatureCollection(IFeatureCollection)Initializes a new instance ofFeatureCollectionwith the specified defaults.FeatureCollection(int)Initializes a new instance ofFeatureCollectionwith the specified initial capacity.
Properties
IsReadOnlyIndicates if the collection can be modified.RevisionIncremented for each modification and can be used to verify cached results.
Methods
GetRetrieves the requested feature from the collection.GetEnumeratorReturns an enumerator that iterates through the collection.Set(TFeature?)Sets the given feature in the collection.
Indexers
this[Type]Gets or sets a given feature. Setting a null value removes the feature.
