SwitchSetTimestampFromMostRecentFile Class

Summary

-stl (Set archive time-stamp from the most recently modified file) switch.

If -stl switch is specified, 7-Zip sets time-stamp for archive file as time-stamp from the most recently modified file in that archive.

Assembly
Cake.7zip.dll
Namespace
Cake.SevenZip.Switches
Interfaces
Base Types
graph BT Type-->Base0["BaseBoolSwitch"] click Base0 "/api/Cake.SevenZip.Switches/BaseBoolSwitch" Base0-->Base1["Object"] Type-.->Interface0["ISwitch"] click Interface0 "/api/Cake.SevenZip.Switches/ISwitch" Type["SwitchSetTimestampFromMostRecentFile"] class Type type-node

Syntax

public class SwitchSetTimestampFromMostRecentFile : BaseBoolSwitch, ISwitch

Constructors

Name Summary
SwitchSetTimestampFromMostRecentFile(bool) Initializes a new instance of the SwitchSetTimestampFromMostRecentFile class.

Methods

Name Value Summary
BuildArguments(ProcessArgumentBuilder) void
Builds the arguments using the builder.
Inherited from BaseBoolSwitch

Extension Methods

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

See Also