CacheBustingOptions Class
Definition
- Namespace
- Cuemon.AspNetCore.Configuration
- Assemblies
- 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
| Name | Description |
|---|---|
| CacheBustingOptions() | Initializes a new instance of the CacheBustingOptions class. |
Properties
| Name | Description |
|---|---|
| PreferredCasing | Gets or sets the preferred casing to use on Version. |