BinderBase<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
GetBoundValue(BindingContext) |
Gets a value from the binding context. |
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. |