Skip to content

FeatureCollection

class

Namespace: Orleans.Connections.Transport

Default implementation for IFeatureCollection.
public class FeatureCollection : IFeatureCollection, IEnumerable<KeyValuePair<Type, object>>, IEnumerable

Constructors

Properties

  • IsReadOnly Indicates if the collection can be modified.
  • Revision Incremented for each modification and can be used to verify cached results.

Methods

  • Get Retrieves 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.