LibManCacheCleanSettings Class

Summary

Contains settings used by LibManCacheCleanTool.
Assembly
Cake.LibMan.dll
Namespace
Cake.LibMan.Cache
Base Types
graph BT Type-->Base0["LibManSettings"] click Base0 "/api/Cake.LibMan/LibManSettings" Base0-->Base1["ToolSettings"] Type["LibManCacheCleanSettings"] class Type type-node

Syntax

public class LibManCacheCleanSettings : LibManSettings

Constructors

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

Properties

Name Value Summary
Command string
Gets the command which should be run.
Inherited from LibManSettings
Provider CdnProvider
The name of the provider to clean the cache for. The filesystem provider doesn't use the library cache.
RedirectStandardError bool
Gets or sets the process option to redirect standard error
Inherited from LibManSettings
RedirectStandardOutput bool
Gets or sets the process option to redirect standard output
Inherited from LibManSettings
Verbosity LibManVerbosity
Gets or sets the verbosity level which should be used to run the libman command.
Inherited from LibManSettings

Methods

Name Value Summary
EvaluateCore(ProcessArgumentBuilder) void
Evaluates the settings and writes them to args.

Extension Methods

Name Value Summary
Dump<LibManCacheCleanSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
FromPath(DirectoryPath) LibManSettings
Sets the working directory which should be used to run the libman command.
Requires the Cake.LibMan addin
IsIn<LibManCacheCleanSettings>(LibManCacheCleanSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<LibManCacheCleanSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<LibManCacheCleanSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<LibManCacheCleanSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<LibManCacheCleanSettings>(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
WithProvider(CdnProvider) LibManCacheCleanSettings
Sets the cdn provider to clear the cache for. Does not support filesystem provider.
Requires the Cake.LibMan addin
WithVerbosity(LibManVerbosity) LibManSettings
Sets the verbosity level which should be used to run the libman command.
Requires the Cake.LibMan addin