RenamePair Class

Summary

A pair or old- and new name for the RenameCommand.
Assembly
Cake.7zip.dll
Namespace
Cake.SevenZip.Arguments
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["RenamePair"] class Type type-node

Syntax

public class RenamePair

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
RenamePair()

Properties

Name Value Summary
NewFile FilePath
Gets or sets the new name.
OldFile FilePath
Gets or sets the old name. (i.e. The file to be renamed.)

Extension Methods

Name Value Summary
Dump<RenamePair>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<RenamePair>(RenamePair[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<RenamePair>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<RenamePair>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<RenamePair>(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<RenamePair>(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