UpdateAction Class

Summary

Specifies the action for a given SwitchUpdateOptions-State.

Assembly
Cake.7zip.dll
Namespace
Cake.SevenZip.Switches
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["UpdateAction"] class Type type-node

Syntax

public sealed class UpdateAction

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Properties

Name Value Summary
Anti UpdateAction
Gets the anti-action. Create Anti-item (item that will delete file or directory during extracting). This feature is supported only in 7z format.
static
Compress UpdateAction
Gets the compress-action. Compress (compress file from disk to new archive).
static
Copy UpdateAction
Gets the copy-action. Copy file (copy from old archive to new).
static
Ignore UpdateAction
Gets the ignore-action. Ignore file (don't create item in new archive for this file).
static

Methods

Name Value Summary
ToString() string

Extension Methods

Name Value Summary
Dump<UpdateAction>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<UpdateAction>(UpdateAction[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<UpdateAction>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<UpdateAction>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<UpdateAction>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<UpdateAction>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin