Language

ModelDescriptor Class

Definition

Provides information for binding command line input to instances of a specific ModelType.

public ref class ModelDescriptor
public class ModelDescriptor
type ModelDescriptor = class
Public Class ModelDescriptor
Inheritance
ModelDescriptor

Constructors

Name Description
ModelDescriptor(Type)

Properties

Name Description
ConstructorDescriptors

Descriptors for the constructors for ModelType

ModelType

The type that the model binder can bind instances of.

PropertyDescriptors

Descriptors for the properties of ModelType.

Methods

Name Description
FromType(Type)

Creates a model binder for the specified type.

FromType<T>()

Creates a model binder for the specified type T.

ToString()

Returns a string that represents the current object.

Applies to