Table of Contents

Class DataIntegrityFactory

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

Provides access to factory methods for creating and configuring implementations of the IDataIntegrity interface.

public static class DataIntegrityFactory
Inheritance
Object
DataIntegrityFactory

Methods

CreateIntegrity(FileInfo, Action<FileIntegrityOptions>)

Creates and returns an object implementing the IDataIntegrity interface from the specified file.

public static IDataIntegrity CreateIntegrity(FileInfo file, Action<FileIntegrityOptions> setup)

Parameters

file FileInfo

The System.IO.FileInfo to convert.

setup Action<FileIntegrityOptions>

The FileIntegrityOptions which need to be configured.

Returns

IDataIntegrity

An object implementing the IDataIntegrity interface that represents the integrity of file.

Exceptions

System.ArgumentNullException

file cannot be null.