ArgumentDirectoriesBuilder.

WithDirectories<T>(T, DirectoryPath[]) Method

Summary

fluent setter for Directories.

See the comments on Files, Directories and DirectoryContents regarding files and directory structures.

Syntax

public static T WithDirectories<T>(this T this, params DirectoryPath[] directories) 
    where T : ISupportArgumentBuilder<IHaveArgumentDirectories>

Type Parameters

Name Description
T the builder to support the IHaveArgumentDirectories.

Parameters

Name Type Description
this T The builder-instance.
directories DirectoryPath[] The directories to operate on.

Return Value

Type Description
T The builder-instance for fluent re-use.
GitHub Discussion