Class ContentBasedOptions
Specifies options that is related to the ContentBasedObjectResult<T>.
Inheritance
System.Object
ContentBasedOptions
Namespace: Cuemon.AspNetCore.Mvc.Filters.Cacheable
Assembly: Cuemon.AspNetCore.Mvc.dll
Syntax
public class ContentBasedOptions
Constructors
| Improve this DocContentBasedOptions()
Initializes a new instance of the ContentBasedOptions class.
Declaration
public ContentBasedOptions()
Remarks
The following table shows the initial property values for an instance of ContentBasedOptions.
Property | Initial Value |
---|---|
IsWeak | false |
Properties
| Improve this DocIsWeak
Gets or sets a value indicating whether this instance has a weak validation.
Declaration
public bool IsWeak { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
| Improve this DocGetValidation(Byte[])
Gets the strength of the checksum validation.
Declaration
public ChecksumStrength GetValidation(byte[] checksum)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | checksum | The checksum to determine the strength of. |
Returns
Type | Description |
---|---|
ChecksumStrength | One of the ChecksumStrength values. |