ArgumentDirectoriesBuilder.

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

Summary

fluent setter for DirectoryContents.

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

Syntax

public static T WithDirectoryContents<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, for fluent use.
GitHub Discussion