Partager via


FeatureReferences<TCache>.Fetch Méthode

Définition

Surcharges

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

Cette API fait partie de l’infrastructure de ASP.NET Core et ne doit pas être référencée par le code d’application.

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

Cette API fait partie de l’infrastructure de ASP.NET Core et ne doit pas être référencée par le code d’application.

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

Cette API fait partie de l’infrastructure de ASP.NET Core et ne doit pas être référencée par le code d’application.

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

Paramètres de type

TFeature
TState

Paramètres

cached
TFeature
state
TState
factory
Func<TState,TFeature>

Retours

TFeature

S’applique à

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

Cette API fait partie de l’infrastructure de ASP.NET Core et ne doit pas être référencée par le code d’application.

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

Paramètres de type

TFeature

Paramètres

cached
TFeature
factory
Func<IFeatureCollection,TFeature>

Retours

TFeature

S’applique à