Поделиться через


FeatureReferences<TCache>.Fetch Метод

Определение

Перегрузки

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

Этот API является частью инфраструктуры ASP.NET Core и не должен ссылаться в коде приложения.

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

Этот API является частью инфраструктуры ASP.NET Core и не должен ссылаться в коде приложения.

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

Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs

Этот API является частью инфраструктуры ASP.NET Core и не должен ссылаться в коде приложения.

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

Параметры типа

TFeature
TState

Параметры

cached
TFeature
state
TState
factory
Func<TState,TFeature>

Возвращаемое значение

TFeature

Применяется к

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

Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs
Исходный код:
FeatureReferences.cs

Этот API является частью инфраструктуры ASP.NET Core и не должен ссылаться в коде приложения.

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

Параметры типа

TFeature

Параметры

cached
TFeature
factory
Func<IFeatureCollection,TFeature>

Возвращаемое значение

TFeature

Применяется к