DotNetCoreTool<TSettings> Class

Summary

Base class for all .NET Core related tools.
graph BT Type-->Base0["DotNetTool<TSettings>"] Base0-->Base1["Tool<TSettings>"] Base1-->Base2["object"] Type["DotNetCoreTool<TSettings>"] class Type type-node Derived0["DotNetCoreTester"]-->Type click Derived0 "/api/Cake.Common.Tools.DotNetCore.Test/DotNetCoreTester" Derived1["DotNetCoreNuGetDeleter"]-->Type click Derived1 "/api/Cake.Common.Tools.DotNetCore.NuGet.Delete/DotNetCoreNuGetDeleter" Derived2["DotNetCoreNuGetPusher"]-->Type click Derived2 "/api/Cake.Common.Tools.DotNetCore.NuGet.Push/DotNetCoreNuGetPusher" Derived3["DotNetCoreCleaner"]-->Type click Derived3 "/api/Cake.Common.Tools.DotNetCore.Clean/DotNetCoreCleaner" Derived4["DotNetCorePacker"]-->Type click Derived4 "/api/Cake.Common.Tools.DotNetCore.Pack/DotNetCorePacker" Derived5["DotNetCoreMSBuildBuilder"]-->Type click Derived5 "/api/Cake.Common.Tools.DotNetCore.MSBuild/DotNetCoreMSBuildBuilder" Derived6["DotNetCoreBuilder"]-->Type click Derived6 "/api/Cake.Common.Tools.DotNetCore.Build/DotNetCoreBuilder" Derived7["DotNetCorePublisher"]-->Type click Derived7 "/api/Cake.Common.Tools.DotNetCore.Publish/DotNetCorePublisher" Derived8["DotNetCoreNuGetSourcer"]-->Type click Derived8 "/api/Cake.Common.Tools.DotNetCore.NuGet.Source/DotNetCoreNuGetSourcer" Derived9["DotNetCoreRunner"]-->Type click Derived9 "/api/Cake.Common.Tools.DotNetCore.Run/DotNetCoreRunner" Derived10["DotNetCoreRestorer"]-->Type click Derived10 "/api/Cake.Common.Tools.DotNetCore.Restore/DotNetCoreRestorer" Derived11["DotNetCoreToolRunner"]-->Type click Derived11 "/api/Cake.Common.Tools.DotNetCore.Tool/DotNetCoreToolRunner" Derived12["DotNetCoreBuildServer"]-->Type click Derived12 "/api/Cake.Common.Tools.DotNetCore.BuildServer/DotNetCoreBuildServer" Derived13["DotNetCoreVSTester"]-->Type click Derived13 "/api/Cake.Common.Tools.DotNetCore.VSTest/DotNetCoreVSTester"

Syntax

public abstract class DotNetCoreTool<TSettings> : DotNetTool<TSettings> 
    where TSettings : DotNetSettings

Type Parameters

Name Description
TSettings The settings type.

Constructors

Extension Methods

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