HybridCacheEntryContext(HybridCacheEntryOptions) Constructor

Definition

Initializes a new instance of the HybridCacheEntryContext class, seeding its values from the supplied options.

public:
 HybridCacheEntryContext(Microsoft::Extensions::Caching::Hybrid::HybridCacheEntryOptions ^ options);
public HybridCacheEntryContext(Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryOptions? options);
new Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryContext : Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryOptions -> Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryContext
Public Sub New (options As HybridCacheEntryOptions)

Parameters

options
HybridCacheEntryOptions

The options to seed the context from, or null to start with unset values. This is typically the effective options for the operation, so that the factory callback observes the current values.

Remarks

This is primarily intended for HybridCache implementations that need to construct a context to pass to a factory callback.

Applies to