Skip to content

IFeatureCollection

interface

Namespace: Orleans.Connections.Transport

Represents a collection of typed features.
public interface IFeatureCollection : IEnumerable<KeyValuePair<Type, object>>, IEnumerable

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