DartSettings Class

Summary

Dart settings.
Assembly
Cake.Dart.dll
Namespace
Cake.Dart
Base Types
  • ToolSettings
graph BT Type-->Base0["ToolSettings"] Type["DartSettings"] class Type type-node

Syntax

public class DartSettings : ToolSettings

Constructors

Name Summary
DartSettings()

Properties

Name Value Summary
EnableAsserts bool
Enable assert statements.
EnableVmService ObservatorySettings
Enables Observatory on localhost port 8181.
Observe ObservatorySettings
A shortcut that combines EnableVmService and PauseIsolatesOnExit.
OldGenHeapSize Nullable<int>
Sets the upper limit of old space to num MB.
PackageRoot FilePath
Where to find packages, that is, "package:..." imports.
Packages FilePath
Where to find a package spec file.
PauseIsolatesOnExit bool
Causes the VM to pause each isolate that would otherwise exit. If your standalone app executes quickly, it might exit before you can open Observatory. To avoid this situation, specify this flag on startup. You must explicitly release all isolates in the Observatory debugger.
PauseIsolatesOnStart bool
Causes the VM to pause before starting any isolate. You must explicitly start each isolate in the Observatory debugger.
Profile bool
On Windows, Observatory’s CPU Profiler screen is disabled by default. Use this option to enable it.
RootCertsCache FilePath
The path to a cache directory containing the trusted root certificates to use for secure socket connections.
RootCertsFile FilePath
The path to a file containing the trusted root certificates to use for secure socket connections.
Snapshot FilePath
Generates a snapshot in the specified file. For information on generating and running snapshots, see Snapshots on GitHub.
SnapshotKind Nullable<SnapshotKind>
snapshot-kind controls the kind of snapshot.
TraceLoading bool
Enables tracing of library and script loading.

Extension Methods

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