CacheConditionAttribute(CacheVaryBy) Constructor
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.
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.