DotNetOutdatedTool<TSettings> Class

Summary

Base class for the dotnet-outdated commands. Runs dotnet outdated, which works for both global and local (manifest) tool installations.
graph BT Type-->Base0["Tool<TSettings>"] Type["DotNetOutdatedTool<TSettings>"] class Type type-node Derived0["DotNetOutdatedReporter"]-->Type click Derived0 "/api/Cake.DotNetOutdated/DotNetOutdatedReporter" Derived1["DotNetOutdatedUpgrader"]-->Type click Derived1 "/api/Cake.DotNetOutdated/DotNetOutdatedUpgrader"

Syntax

public abstract class DotNetOutdatedTool<TSettings> : Tool<TSettings> 
    where TSettings : DotNetOutdatedSettings

Type Parameters

Name Description
TSettings The settings type.

Constructors

Methods

Name Value Summary
CreateArgumentBuilder(string, TSettings) ProcessArgumentBuilder
Creates a ProcessArgumentBuilder containing the outdated command, the optional path and the options shared by all commands.
GetToolExecutableNames() IEnumerable<string>
Gets the possible names of the tool executable.
GetToolName() string
Gets the name of the tool.

Extension Methods

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