Class ChecksumBuilderExtensions
Extension methods for the ChecksumBuilder class.
Inheritance
System.Object
ChecksumBuilderExtensions
Namespace: Cuemon.AspNetCore.Integrity
Assembly: Cuemon.AspNetCore.dll
Syntax
public static class ChecksumBuilderExtensions
Methods
| Improve this DocToEntityTag(ChecksumBuilder, Boolean)
Creates an Microsoft.Net.Http.Headers.EntityTagHeaderValue from the specified builder.
Declaration
public static EntityTagHeaderValue ToEntityTag(this ChecksumBuilder builder, bool isWeak = false)
Parameters
| Type | Name | Description |
|---|---|---|
| ChecksumBuilder | builder | The ChecksumBuilder to extend. |
| System.Boolean | isWeak | A value that indicates if this entity-tag header is a weak validator. |
Returns
| Type | Description |
|---|---|
| Microsoft.Net.Http.Headers.EntityTagHeaderValue | An Microsoft.Net.Http.Headers.EntityTagHeaderValue that is initiated with a hexadecimal representation of Checksum and a value that indicates if the tag is weak. |