FeatureReferences<TCache>.Fetch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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>