CacheValidator Constructor
Definition
- Assemblies
- Cuemon.Data.Integrity.dll
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
entityEntityInfoAn EntityInfo object that representing the meta-data of an entity.
hashFactoryFunc<Hash>The function delegate that is invoked to produce the HashResult.
methodEntityDataIntegrityMethodA EntityDataIntegrityMethod enumeration value that indicates how a checksum is manipulated. Default is Unaltered.
Exceptions
- InvalidEnumArgumentException
method