IScriptInformation Interface

Summary

Represents information about a script.
graph BT Type["IScriptInformation"] class Type type-node

Syntax

public interface IScriptInformation

Properties

Name Value Summary
Addins IList<PackageReference>
Gets the addins.
Defines IList<string>
Gets the defines directives defined by the scripts.
Includes IList<IScriptInformation>
Gets the includes.
Modules IList<PackageReference>
Gets the modules.
Namespaces IList<string>
Gets all namespaces referenced by the script.
Path FilePath
Gets the script path.
References IList<string>
Gets the referenced script assemblies.
Tools IList<PackageReference>
Gets the tools.
UsingAliases IList<string>
Gets all using aliases defined by the scripts.
UsingStaticDirectives IList<string>
Gets all types referenced with the using static directive.

Extension Methods

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