ListUnitsSettings Class

Summary

Settings for 'list-units' command
Assembly
Cake.Systemctl.dll
Namespace
Cake.Systemctl.Settings
Interfaces
Base Types
ListUnitsSettings
ToolSettings

Syntax

public class ListUnitsSettings : SystemctlOperationSettings, IStateFilter

Constructors

Name Summary
ListUnitsSettings()

Properties

Name Value Summary
All bool
true to also show inactive units and units which are following other units
State string
A state of unit to filter
Type string
A type of unit to filter

Extension Methods

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