Script.

Script(IEnumerable<string>, IEnumerable<string>, IEnumerable<ScriptAlias>, IEnumerable<string>, IEnumerable<string>, IEnumerable<string>) Constructor

Summary

Initializes a new instance of the Script class.
Namespace
Cake.Core.Scripting
Containing Type
Script

Syntax

public Script(IEnumerable<string> namespaces, IEnumerable<string> lines, IEnumerable<ScriptAlias> aliases, IEnumerable<string> usingAliasDirectives, IEnumerable<string> usingStaticDirectives, IEnumerable<string> defines)

Parameters

Name Type Description
namespaces IEnumerable<string> The namespaces.
lines IEnumerable<string> The scrip lines.
aliases IEnumerable<ScriptAlias> The script aliases.
usingAliasDirectives IEnumerable<string> The using alias directives.
usingStaticDirectives IEnumerable<string> The using static directives.
defines IEnumerable<string> The defines.

Return Value

Type Description
void