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>)

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

此 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>)

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

此 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

适用于