IHaveArgumentDirectories Interface

Summary

Interface for all commands supporting multiple directories as arguments.
graph BT Type-.->Interface0["IHaveArgument"] click Interface0 "/Cake.7zip/api/Cake.SevenZip.Arguments/IHaveArgument" Type["IHaveArgumentDirectories"] class Type type-node Implementing0["AddCommand"]-.->Type click Implementing0 "/Cake.7zip/api/Cake.SevenZip.Commands/AddCommand" Implementing1["BaseAddLikeSyntaxCommand"]-.->Type click Implementing1 "/Cake.7zip/api/Cake.SevenZip.Commands/BaseAddLikeSyntaxCommand" Implementing2["UpdateCommand"]-.->Type click Implementing2 "/Cake.7zip/api/Cake.SevenZip.Commands/UpdateCommand" Implementing3["DeleteCommand"]-.->Type click Implementing3 "/Cake.7zip/api/Cake.SevenZip.Commands/DeleteCommand" Implementing4["HashCommand"]-.->Type click Implementing4 "/Cake.7zip/api/Cake.SevenZip.Commands/HashCommand"

Syntax

public interface IHaveArgumentDirectories : IHaveArgument

Properties

Name Value Summary
Directories DirectoryPathCollection?
Gets or sets the list of Directories the command operates on.

For add and update, adding a directory will add the directory itself to the root of the archive including everything in it.

DirectoryContents DirectoryPathCollection?
Gets or sets the list of Directory-contents the command operates on.

For add and update, adding a directory this way will add the files of the directory to the root of the archive but not the directory itself.

GitHub Discussion