Bewerken

Delen via


BinderBase<T> Class

Definition

Supports binding of custom types.

generic <typename T>
public ref class BinderBase abstract : System::CommandLine::Binding::IValueDescriptor<T>, System::CommandLine::Binding::IValueSource
public abstract class BinderBase<T> : System.CommandLine.Binding.IValueDescriptor<T>, System.CommandLine.Binding.IValueSource
type BinderBase<'T> = class
    interface IValueDescriptor<'T>
    interface IValueDescriptor
    interface IValueSource
Public MustInherit Class BinderBase(Of T)
Implements IValueDescriptor(Of T), IValueSource

Type Parameters

T

The type to be bound.

Inheritance
BinderBase<T>
Implements

Constructors

BinderBase<T>()

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBoundValue(BindingContext)

Gets a value from the binding context.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IValueDescriptor.GetDefaultValue()

Gets the default value, if any.

IValueDescriptor.HasDefaultValue

Gets a value that specifies whether there is a default value.

IValueDescriptor.ValueName

Gets the name of the value.

IValueDescriptor.ValueType

Gets the type of the value.

IValueSource.TryGetValue(IValueDescriptor, BindingContext, Object)

Tries to get a value from a binding context. The return value indicates whether a value matching the specified value descriptor was present.

Applies to