ICakeModule Interface

Summary

Represents a module responsible for registering types and instances.
graph BT Type["ICakeModule"] class Type type-node Implementing0["NuGetModule"]-.->Type click Implementing0 "/api/Cake.NuGet/NuGetModule" Implementing1["CommonModule"]-.->Type click Implementing1 "/api/Cake.Common.Modules/CommonModule" Implementing2["CoreModule"]-.->Type click Implementing2 "/api/Cake.Core.Modules/CoreModule" Implementing3["DotNetToolModule"]-.->Type click Implementing3 "/api/Cake.DotNetTool.Module/DotNetToolModule"

Syntax

public interface ICakeModule

Methods

Name Value Summary
Register(ICakeContainerRegistrar) void
Performs custom registrations in the provided registrar.

Extension Methods

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