IFeatureCollection IFeatureCollection IFeatureCollection Interface

Definition

Represents a collection of HTTP features.

public interface IFeatureCollection : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Type,object>>
type IFeatureCollection = interface
    interface seq<KeyValuePair<Type, obj>>
    interface IEnumerable
Public Interface IFeatureCollection
Implements IEnumerable(Of KeyValuePair(Of Type, Object))
Derived
Implements

Properties

IsReadOnly IsReadOnly IsReadOnly

Indicates if the collection can be modified.

Item[Type] Item[Type] Item[Type]

Gets or sets a given feature. Setting a null value removes the feature.

Revision Revision Revision

Incremented for each modification and can be used to verify cached results.

Methods

Get<TFeature>() Get<TFeature>() Get<TFeature>()

Retrieves the requested feature from the collection.

Set<TFeature>(TFeature) Set<TFeature>(TFeature) Set<TFeature>(TFeature)

Sets the given feature in the collection.

Extension Methods

GetWrapperProvider(IEnumerable<IWrapperProviderFactory>, WrapperProviderContext) GetWrapperProvider(IEnumerable<IWrapperProviderFactory>, WrapperProviderContext) GetWrapperProvider(IEnumerable<IWrapperProviderFactory>, WrapperProviderContext)

Gets an instance of IWrapperProvider for the supplied type.

FirstHtmlSymbolAs(IEnumerable<ISymbol>, HtmlSymbolType) FirstHtmlSymbolAs(IEnumerable<ISymbol>, HtmlSymbolType) FirstHtmlSymbolAs(IEnumerable<ISymbol>, HtmlSymbolType)

Converts the generic IEnumerable<T> to a IEnumerable<T> and finds the first HtmlSymbol with type type.

GetContent(IEnumerable<ISymbol>, SourceLocation) GetContent(IEnumerable<ISymbol>, SourceLocation) GetContent(IEnumerable<ISymbol>, SourceLocation)

Applies to