ListUnitsSettings Class

Summary

Settings for 'list-units' command
Assembly
Cake.Systemctl.dll
Namespace
Cake.Systemctl.Settings
Interfaces
Base Types
graph BT Type-->Base0["SystemctlOperationSettings"] click Base0 "/api/Cake.Systemctl.Settings/SystemctlOperationSettings" Base0-->Base1["ToolSettings"] Type-.->Interface0["IStateFilter"] click Interface0 "/api/Cake.Systemctl.Settings/IStateFilter" Type["ListUnitsSettings"] class Type type-node

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.Ftp addin
NotNull<ListUnitsSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues 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