IScriptConventions Interface

Summary

Represents the script conventions used by Cake.
Namespace
Cake.Core.Scripting
Implementing Types
graph BT Type["IScriptConventions"] class Type type-node Implementing0["ScriptConventions"]-.->Type click Implementing0 "/api/Cake.Core.Scripting/ScriptConventions"

Syntax

public interface IScriptConventions

Methods

Name Value Summary
GetDefaultAssemblies(DirectoryPath) IReadOnlyList<Assembly>
Gets the default assemblies.
GetDefaultDefines() IReadOnlyList<string>
Gets the default defines.
GetDefaultNamespaces() IReadOnlyList<string>
Gets the default namespaces.

Extension Methods

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