Language

CacheConditionAttribute(CacheVaryBy) Constructor

Definition

Initializes a new instance of the CacheConditionAttribute class.

public CacheConditionAttribute(Microsoft.AspNetCore.Components.CacheVaryBy varyBy);
new Microsoft.AspNetCore.Components.CacheConditionAttribute : Microsoft.AspNetCore.Components.CacheVaryBy -> Microsoft.AspNetCore.Components.CacheConditionAttribute
Public Sub New (varyBy As CacheVaryBy)

Parameters

varyBy
CacheVaryBy

The vary-by dimensions that include the component in the cached output.

Applies to