Table of Contents

Class SpecialPropertiesMetadata

Namespace
McMaster.Extensions.CommandLineUtils.SourceGeneration
Assembly
McMaster.Extensions.CommandLineUtils.dll

Metadata for special well-known properties (Parent, Subcommand, RemainingArguments).

public sealed class SpecialPropertiesMetadata
Inheritance
object
SpecialPropertiesMetadata

Properties

ParentSetter

Setter for the Parent property, if one exists.

public Action<object, object?>? ParentSetter { get; init; }

Property Value

Action<object, object>

ParentType

The type of the Parent property.

public Type? ParentType { get; init; }

Property Value

Type

RemainingArgumentsSetter

Setter for the RemainingArguments property, if one exists.

public Action<object, object?>? RemainingArgumentsSetter { get; init; }

Property Value

Action<object, object>

RemainingArgumentsType

The type of the RemainingArguments property.

public Type? RemainingArgumentsType { get; init; }

Property Value

Type

SubcommandSetter

Setter for the Subcommand property, if one exists.

public Action<object, object?>? SubcommandSetter { get; init; }

Property Value

Action<object, object>

SubcommandType

The type of the Subcommand property.

public Type? SubcommandType { get; init; }

Property Value

Type