Condividi tramite


BinderBase<T> Classe

Definizione

Supporta l'associazione di tipi personalizzati.

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

Parametri di tipo

T

Tipo da associare.

Ereditarietà
BinderBase<T>
Implementazioni

Costruttori

BinderBase<T>()

Supporta l'associazione di tipi personalizzati.

Metodi

Equals(Object)

Determina se l'oggetto specificato è uguale all'oggetto corrente.

(Ereditato da Object)
GetBoundValue(BindingContext)

Ottiene un valore dal contesto di associazione.

GetHashCode()

Funge da funzione hash predefinita.

(Ereditato da Object)
GetType()

Ottiene l'oggetto Type dell'istanza corrente.

(Ereditato da Object)
MemberwiseClone()

Crea una copia superficiale dell'oggetto Object corrente.

(Ereditato da Object)
ToString()

Restituisce una stringa che rappresenta l'oggetto corrente.

(Ereditato da Object)

Implementazioni dell'interfaccia esplicita

IValueDescriptor.GetDefaultValue()

Ottiene il valore predefinito, se presente.

IValueDescriptor.HasDefaultValue

Ottiene un valore che specifica se è presente un valore predefinito.

IValueDescriptor.ValueName

Ottiene il nome del valore.

IValueDescriptor.ValueType

Ottiene il tipo del valore.

IValueSource.TryGetValue(IValueDescriptor, BindingContext, Object)

Tenta di ottenere un valore da un contesto di associazione. Il valore restituito indica se è presente un valore corrispondente al descrittore di valore specificato.

Si applica a