IValueDescriptor<T> Interface

Definition

Describes and provides access to a bindable named value.

C#
public interface IValueDescriptor<out T> : System.CommandLine.Binding.IValueDescriptor

Type Parameters

T
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Implements

Properties

HasDefaultValue

Gets a value determining whether there is a default value.

(Inherited from IValueDescriptor)
ValueName

The name of the value.

(Inherited from IValueDescriptor)
ValueType

The type of the value.

(Inherited from IValueDescriptor)

Methods

GetDefaultValue()

Gets the default value, if any.

(Inherited from IValueDescriptor)

Extension Methods

Applies to

Proizvod Verzije
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)