Skip to content

ModelDestination

Namespace Nfty.Model in assembly Nfty.Model.

public abstract class ModelDestination

Where a streamed batch goes: a folder of files, or one zip.

Methods

Folder(string)

public static ModelDestination Folder(string directory);

A folder, created on the first file.

Parameters

  • directory (string) - The folder.

Returns. The destination.

Exceptions

  • ArgumentException - directory is null or whitespace.

Zip(string)

public static ModelDestination Zip(string zipPath);

One zip: ordinal entries, fixed timestamps, in place only once complete.

Parameters

  • zipPath (string) - The zip to create or replace.

Returns. The destination.

Exceptions

  • ArgumentException - zipPath is null or whitespace.