IHybridCacheSerializerFactory.TryCreateSerializer<T> 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.
Requests a serializer for the provided type, if possible.
public:
generic <typename T>
bool TryCreateSerializer([Runtime::InteropServices::Out] Microsoft::Extensions::Caching::Hybrid::IHybridCacheSerializer<T> ^ % serializer);
public bool TryCreateSerializer<T> (out Microsoft.Extensions.Caching.Hybrid.IHybridCacheSerializer<T>? serializer);
abstract member TryCreateSerializer : IHybridCacheSerializer -> bool
Public Function TryCreateSerializer(Of T) (ByRef serializer As IHybridCacheSerializer(Of T)) As Boolean
Type Parameters
- T
The type being serialized or deserialized.
Parameters
- serializer
- IHybridCacheSerializer<T>
The serializer.
Returns
true
if the factory supports this type, false
otherwise.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.