Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​AspNetCore.​Http.​Features.​IFeatureCollection

Assembly: Microsoft.Extensions.Features

Implemented Interfaces

Represents a collection of HTTP features.

Properties

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

Methods

TFeature
Get​()
Retrieves the requested feature from the collection.
Returns The requested feature, or null if it is not present.
void
Set​(TFeature instance)
Sets the given feature in the collection.
instance The feature value.