VagrantPowerShellSettings Class

Summary

Additional settings for the vagrant powershell command.
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant.Settings
Interfaces
  • IVagrantCommandSettings
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IVagrantCommandSettings"] Type["VagrantPowerShellSettings"] class Type type-node

Syntax

public class VagrantPowerShellSettings : IVagrantCommandSettings

Constructors

Properties

Name Value Summary
Command string
The command to run on your machine.

Methods

Name Value Summary
GetToolArguments() Action<ProcessArgumentBuilder>
Gets the command arguments corresponding to the specified settings

Extension Methods

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