Summary
Builder for
DeleteCommand
.
- Namespace
- Cake
.SevenZip .Builder - Interfaces
-
- I
Support Argument Builder <IHaveArgumentArchive> - I
Support Argument Builder <IHaveArgumentFiles> - I
Support Argument Builder <I Have >Argument Directories - I
Support Switch Builder <I Support >Switch Include Filenames - I
Support Switch Builder <I Support >Switch Exclude Filenames - I
Support Switch Builder <I Support >Switch Compression Method - I
Support Switch Builder <I Support >Switch Password - I
Support Switch Builder <I Support >Switch Recurse Subdirectories - I
Support Switch Builder <I Support >Switch Ntfs Alternate Streams - I
Support Switch Builder <I Support >Switch Update Options - I
Support Switch Builder <I Support >Switch Working Directory - I
Support Switch Builder <I Support >Switch Self Extracting Archive - I
Support Switch Builder <I Support >Switch Fully Qualified File Paths
- I
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["ISupportArgumentBuilder<IHaveArgumentArchive>"]
Type-.->Interface1["ISupportArgumentBuilder<IHaveArgumentFiles>"]
Type-.->Interface2["ISupportArgumentBuilder<IHaveArgumentDirectories>"]
Type-.->Interface3["ISupportSwitchBuilder<ISupportSwitchIncludeFilenames>"]
Type-.->Interface4["ISupportSwitchBuilder<ISupportSwitchExcludeFilenames>"]
Type-.->Interface5["ISupportSwitchBuilder<ISupportSwitchCompressionMethod>"]
Type-.->Interface6["ISupportSwitchBuilder<ISupportSwitchPassword>"]
Type-.->Interface7["ISupportSwitchBuilder<ISupportSwitchRecurseSubdirectories>"]
Type-.->Interface8["ISupportSwitchBuilder<ISupportSwitchNtfsAlternateStreams>"]
Type-.->Interface9["ISupportSwitchBuilder<ISupportSwitchUpdateOptions>"]
Type-.->Interface10["ISupportSwitchBuilder<ISupportSwitchWorkingDirectory>"]
Type-.->Interface11["ISupportSwitchBuilder<ISupportSwitchSelfExtractingArchive>"]
Type-.->Interface12["ISupportSwitchBuilder<ISupportSwitchFullyQualifiedFilePaths>"]
Type["DeleteCommandBuilder"]
class Type type-node
Syntax
public sealed class DeleteCommandBuilder : ISupportArgumentBuilder<IHaveArgumentArchive>,
ISupportArgumentBuilder<IHaveArgumentFiles>, ISupportArgumentBuilder<IHaveArgumentDirectories>,
ISupportSwitchBuilder<ISupportSwitchIncludeFilenames>,
ISupportSwitchBuilder<ISupportSwitchExcludeFilenames>,
ISupportSwitchBuilder<ISupportSwitchCompressionMethod>,
ISupportSwitchBuilder<ISupportSwitchPassword>,
ISupportSwitchBuilder<ISupportSwitchRecurseSubdirectories>,
ISupportSwitchBuilder<ISupportSwitchNtfsAlternateStreams>,
ISupportSwitchBuilder<ISupportSwitchUpdateOptions>,
ISupportSwitchBuilder<ISupportSwitchWorkingDirectory>,
ISupportSwitchBuilder<ISupportSwitchSelfExtractingArchive>,
ISupportSwitchBuilder<ISupportSwitchFullyQualifiedFilePaths>
Examples
Task("RemoveFiles")
.Does(() =>
{
SevenZip(m => m
.InDeleteMode()
.WithArchive(File("path/to/file.zip"))
.WithFiles("*.pdf", "*.xps")
.WithPassword("secure!"));
});