Table of Contents

Class AssemblyExtensions

Namespace
Cuemon.Extensions.Data.Integrity
Assembly
Cuemon.Extensions.Data.Integrity.dll

Extension methods for the Assembly class.

public static class AssemblyExtensions
Inheritance
AssemblyExtensions

Methods

GetCacheValidator(Assembly, Func<Hash>, Action<FileChecksumOptions>)

Returns a CacheValidator from the specified assembly.

public static CacheValidator GetCacheValidator(this Assembly assembly, Func<Hash> hashFactory = null, Action<FileChecksumOptions> setup = null)

Parameters

assembly Assembly

The assembly to resolve a CacheValidator from.

hashFactory Func<Hash>

The function delegate that is invoked to produce the HashResult.

setup Action<FileChecksumOptions>

The FileChecksumOptions which may be configured.

Returns

CacheValidator

A CacheValidator that represents the integrity of the specified assembly.