Class VersionOptionMetadata
- Assembly
- McMaster.Extensions.CommandLineUtils.dll
Metadata for the [VersionOption] attribute.
public sealed class VersionOptionMetadata
- Inheritance
-
objectVersionOptionMetadata
Properties
Description
The description.
public string? Description { get; init; }
Property Value
Template
The option template.
public string? Template { get; init; }
Property Value
Version
The version string, or null if version is provided by a member.
public string? Version { get; init; }
Property Value
VersionGetter
Delegate to get the version from a member, if applicable.
public Func<object, string?>? VersionGetter { get; init; }