HybridCacheBuilderExtensions.AddSerializerFactory 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
AddSerializerFactory(IHybridCacheBuilder, IHybridCacheSerializerFactory) | |
AddSerializerFactory<TImplementation>(IHybridCacheBuilder) |
AddSerializerFactory(IHybridCacheBuilder, IHybridCacheSerializerFactory)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Caching::Hybrid::IHybridCacheBuilder ^ AddSerializerFactory(Microsoft::Extensions::Caching::Hybrid::IHybridCacheBuilder ^ builder, Microsoft::Extensions::Caching::Hybrid::IHybridCacheSerializerFactory ^ factory);
public static Microsoft.Extensions.Caching.Hybrid.IHybridCacheBuilder AddSerializerFactory (this Microsoft.Extensions.Caching.Hybrid.IHybridCacheBuilder builder, Microsoft.Extensions.Caching.Hybrid.IHybridCacheSerializerFactory factory);
static member AddSerializerFactory : Microsoft.Extensions.Caching.Hybrid.IHybridCacheBuilder * Microsoft.Extensions.Caching.Hybrid.IHybridCacheSerializerFactory -> Microsoft.Extensions.Caching.Hybrid.IHybridCacheBuilder
<Extension()>
Public Function AddSerializerFactory (builder As IHybridCacheBuilder, factory As IHybridCacheSerializerFactory) As IHybridCacheBuilder
Parameters
- builder
- IHybridCacheBuilder
- factory
- IHybridCacheSerializerFactory
Returns
Applies to
AddSerializerFactory<TImplementation>(IHybridCacheBuilder)
public:
generic <typename TImplementation>
where TImplementation : class, Microsoft::Extensions::Caching::Hybrid::IHybridCacheSerializerFactory[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Caching::Hybrid::IHybridCacheBuilder ^ AddSerializerFactory(Microsoft::Extensions::Caching::Hybrid::IHybridCacheBuilder ^ builder);
public static Microsoft.Extensions.Caching.Hybrid.IHybridCacheBuilder AddSerializerFactory<TImplementation> (this Microsoft.Extensions.Caching.Hybrid.IHybridCacheBuilder builder) where TImplementation : class, Microsoft.Extensions.Caching.Hybrid.IHybridCacheSerializerFactory;
static member AddSerializerFactory : Microsoft.Extensions.Caching.Hybrid.IHybridCacheBuilder -> Microsoft.Extensions.Caching.Hybrid.IHybridCacheBuilder (requires 'Implementation : null and 'Implementation :> Microsoft.Extensions.Caching.Hybrid.IHybridCacheSerializerFactory)
<Extension()>
Public Function AddSerializerFactory(Of TImplementation As {Class, IHybridCacheSerializerFactory}) (builder As IHybridCacheBuilder) As IHybridCacheBuilder
Type Parameters
- TImplementation
Parameters
- builder
- IHybridCacheBuilder
Returns
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per