# FeatureCollection

Package: [Microsoft.Orleans.Core](/orleans/docs/api/csharp/microsoft.orleans.core/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Core) | [Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Core/Networking/Transport/FeatureCollection.cs#L11)

```csharp
public class FeatureCollection : IFeatureCollection, IEnumerable<KeyValuePair<Type, object>>, IEnumerable
```

Default implementation for [IFeatureCollection](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.ifeaturecollection/).

## Constructors

- [FeatureCollection](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.featurecollection/constructors/constructor-b4ae9d81/)
- [FeatureCollection(IFeatureCollection)](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.featurecollection/constructors/constructor-orleans-connections-transport-ifeaturecollection-184b9840/)
- [FeatureCollection(int)](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.featurecollection/constructors/constructor-int-7e891e26/)

## Properties

- [IsReadOnly](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.featurecollection/properties/isreadonly-24f5105e/)
- [Revision](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.featurecollection/properties/revision-324039d7/)

## Methods

- [Get](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.featurecollection/methods/get-1-9e5bbd54/)
- [GetEnumerator](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.featurecollection/methods/getenumerator-397ca04f/)
- [Set(TFeature?)](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.featurecollection/methods/set-1-tfeature-nullable-bc9fcb97/)

## Indexers

- [this[Type]](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.featurecollection/indexers/this-system-type-0cb2faa1/)
