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
assemblyAssemblyThe assembly to resolve a CacheValidator from.
hashFactoryFunc<Hash>The function delegate that is invoked to produce the HashResult.
setupAction<FileChecksumOptions>The FileChecksumOptions which may be configured.
Returns
- CacheValidator
A CacheValidator that represents the integrity of the specified
assembly.