Share via


FeatureReferences<TCache>.Fetch Method

Definition

Overloads

Fetch<TFeature,TState>(TFeature, TState, Func<TState,TFeature>)

This API is part of ASP.NET Core's infrastructure and should not be referenced by application code.

Fetch<TFeature>(TFeature, Func<IFeatureCollection,TFeature>)

This API is part of ASP.NET Core's infrastructure and should not be referenced by application code.

Fetch<TFeature,TState>(TFeature, TState, Func<TState,TFeature>)

Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs

This API is part of ASP.NET Core's infrastructure and should not be referenced by application code.

public:
generic <typename TFeature, typename TState>
 where TFeature : class TFeature Fetch(TFeature % cached, TState state, Func<TState, TFeature> ^ factory);
public TFeature Fetch<TFeature,TState> (ref TFeature cached, TState state, Func<TState,TFeature> factory) where TFeature : class;
public TFeature? Fetch<TFeature,TState> (ref TFeature? cached, TState state, Func<TState,TFeature?> factory) where TFeature : class;
member this.Fetch : 'Feature * 'State * Func<'State, 'Feature (requires 'Feature : null)> -> 'Feature (requires 'Feature : null)
Public Function Fetch(Of TFeature As Class, TState As Class) (ByRef cached As TFeature, state As TState, factory As Func(Of TState, TFeature)) As TFeature

Type Parameters

TFeature
TState

Parameters

cached
TFeature
state
TState
factory
Func<TState,TFeature>

Returns

TFeature

Applies to

Fetch<TFeature>(TFeature, Func<IFeatureCollection,TFeature>)

Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs
Source:
FeatureReferences.cs

This API is part of ASP.NET Core's infrastructure and should not be referenced by application code.

public:
generic <typename TFeature>
 where TFeature : class TFeature Fetch(TFeature % cached, Func<Microsoft::AspNetCore::Http::Features::IFeatureCollection ^, TFeature> ^ factory);
public TFeature Fetch<TFeature> (ref TFeature cached, Func<Microsoft.AspNetCore.Http.Features.IFeatureCollection,TFeature> factory) where TFeature : class;
public TFeature? Fetch<TFeature> (ref TFeature? cached, Func<Microsoft.AspNetCore.Http.Features.IFeatureCollection,TFeature?> factory) where TFeature : class;
member this.Fetch : 'Feature * Func<Microsoft.AspNetCore.Http.Features.IFeatureCollection, 'Feature (requires 'Feature : null)> -> 'Feature (requires 'Feature : null)
Public Function Fetch(Of TFeature As Class) (ByRef cached As TFeature, factory As Func(Of IFeatureCollection, TFeature)) As TFeature

Type Parameters

TFeature

Parameters

cached
TFeature
factory
Func<IFeatureCollection,TFeature>

Returns

TFeature

Applies to