Table of Contents

CliCommandAttribute.Parent Property

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Gets or sets the parent of the command. This property is used when you prefer to use a non-nested class for a subcommand, i.e. when you want to separate root command and subcommands into different classes/files. If the class that this attribute is applied to, is already a nested class, then this property will be ignored.

public Type Parent { get; set; }

Property Value

Type