UnitSettings Class

Summary

Settings for commands with unit
Assembly
Cake.Systemctl.dll
Namespace
Cake.Systemctl.Settings.Unit
Base Types
Derived Types
graph BT Type-->Base0["SystemctlOperationSettings"] click Base0 "/api/Cake.Systemctl.Settings/SystemctlOperationSettings" Base0-->Base1["ToolSettings"] Type["UnitSettings"] class Type type-node Derived0["ShowUnitSettings"]-->Type click Derived0 "/api/Cake.Systemctl.Settings.Unit/ShowUnitSettings"

Syntax

public class UnitSettings : SystemctlOperationSettings

Constructors

Name Summary
UnitSettings()

Properties

Name Value Summary
UnitName string
The name of unit

Extension Methods

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