Class CacheBustingOptions
- Namespace
- Cuemon.AspNetCore.Configuration
- Assembly
- Cuemon.AspNetCore.dll
Specifies options that is related to CacheBusting operations.
public class CacheBustingOptions : IParameterObject
- Inheritance
-
CacheBustingOptions
- Implements
- Derived
Examples
The following example demonstrates how to configure cache-busting options for static resources.
using System;
using Cuemon.Configuration;
namespace Cuemon.AspNetCore.Configuration;
public static class CacheBustingOptionsExample
{
public static void Demonstrate()
{
var options = new CacheBustingOptions
{
PreferredCasing = CasingMethod.UpperCase
};
Console.WriteLine(options.PreferredCasing);
}
}
Constructors
CacheBustingOptions()
Initializes a new instance of the CacheBustingOptions class.
public CacheBustingOptions()
Remarks
The following table shows the initial property values for an instance of CacheBustingOptions.
| Property | Initial Value |
|---|---|
| PreferredCasing | LowerCase |
Properties
PreferredCasing
Gets or sets the preferred casing to use on Version.
public CasingMethod PreferredCasing { get; set; }
Property Value
- CasingMethod
The preferred casing to use on Version.