FeatureReferences<TCache> Struct

Namespace
Microsoft.AspNetCore.Http.Features
Assemblies
  • Microsoft.AspNetCore.Http.Features

Syntax

public struct FeatureReferences<TCache>
struct Microsoft.AspNetCore.Http.Features.FeatureReferences<TCache>

Methods

Fetch<TFeature>(ref TFeature, System.Func<Microsoft.AspNetCore.Http.Features.IFeatureCollection, TFeature>)
Return type:TFeature
public TFeature Fetch<TFeature>(ref TFeature cached, Func<IFeatureCollection, TFeature> factory)where TFeature : class
Fetch<TFeature, TState>(ref TFeature, TState, System.Func<TState, TFeature>)
Return type:TFeature
public TFeature Fetch<TFeature, TState>(ref TFeature cached, TState state, Func<TState, TFeature> factory)where TFeature : class

Constructors

FeatureReferences(Microsoft.AspNetCore.Http.Features.IFeatureCollection)
public FeatureReferences(IFeatureCollection collection)

Properties

Microsoft.AspNetCore.Http.Features.FeatureReferences<TCache>.Collection
Return type:Microsoft.AspNetCore.Http.Features.IFeatureCollection
public IFeatureCollection Collection { get; }
Microsoft.AspNetCore.Http.Features.FeatureReferences<TCache>.Revision
Return type:System.Int32
public int Revision { get; }

Fields

Cache()
Return type:TCache
public TCache Cache