Table of Contents

CacheValidator Constructor

Definition

Namespace
Cuemon.Data.Integrity
Assemblies
Cuemon.Data.Integrity.dll
Source
src/Cuemon.Data.Integrity/CacheValidator.cs

CacheValidator(EntityInfo, Func<Hash>, EntityDataIntegrityMethod)

Initializes a new instance of the CacheValidator class.

public CacheValidator(EntityInfo entity, Func<Hash> hashFactory, EntityDataIntegrityMethod method = EntityDataIntegrityMethod.Unaltered)

Parameters

entity EntityInfo

An EntityInfo object that representing the meta-data of an entity.

hashFactory Func<Hash>

The function delegate that is invoked to produce the HashResult.

method EntityDataIntegrityMethod

A EntityDataIntegrityMethod enumeration value that indicates how a checksum is manipulated. Default is Unaltered.

Exceptions

InvalidEnumArgumentException

method