FeatureCollection Třída

Definice

Výchozí implementace pro IFeatureCollection.

public ref class FeatureCollection : Microsoft::AspNetCore::Http::Features::IFeatureCollection, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Type ^, System::Object ^>>
public class FeatureCollection : Microsoft.AspNetCore.Http.Features.IFeatureCollection, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Type,object>>
type FeatureCollection = class
    interface IFeatureCollection
    interface seq<KeyValuePair<Type, obj>>
    interface IEnumerable
Public Class FeatureCollection
Implements IEnumerable(Of KeyValuePair(Of Type, Object)), IFeatureCollection
Dědičnost
FeatureCollection
Implementuje

Konstruktory

FeatureCollection()

Inicializuje novou instanci .FeatureCollection

FeatureCollection(IFeatureCollection)

Inicializuje novou instanci FeatureCollection se zadanými výchozími nastaveními.

FeatureCollection(Int32)

Inicializuje novou instanci FeatureCollection se zadanou počáteční kapacitou.

Vlastnosti

IsReadOnly

Označuje, jestli lze kolekci upravit.

Item[Type]

Získá nebo nastaví danou funkci. Nastavení hodnoty null odebere funkci.

Revision

Zvýší se pro každou změnu a dá se použít k ověření výsledků uložených v mezipaměti.

Metody

Get<TFeature>()

Načte požadovanou funkci z kolekce.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Set<TFeature>(TFeature)

Nastaví danou funkci v kolekci.

Explicitní implementace rozhraní

IEnumerable.GetEnumerator()

Platí pro