Skip to content

M_CommandLine_Core_TypeDescriptor__ctor

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

TypeDescriptor Constructor

Initializes a new instance of the TypeDescriptor class

Namespace: CommandLine.Core
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

private TypeDescriptor(
	TargetType targetType,
	Maybe<int> maxItems,
	Maybe<TypeDescriptor> nextValue = null
)

VB

Private Sub New ( 
	targetType As TargetType,
	maxItems As Maybe(Of Integer),
	Optional nextValue As Maybe(Of TypeDescriptor) = Nothing
)

C++

private:
TypeDescriptor(
	TargetType targetType, 
	Maybe<int>^ maxItems, 
	Maybe<TypeDescriptor>^ nextValue = nullptr
)

F#

new : 
        targetType : TargetType * 
        maxItems : Maybe<int> * 
        ?nextValue : Maybe<TypeDescriptor> 
(* Defaults:
        let _nextValue = defaultArg nextValue null
*)
-> TypeDescriptor

Parameters

 

targetType
Type: CommandLine.Core.TargetType
maxItems
Type: CSharpx.Maybe(Int32)
nextValue (Optional)
Type: CSharpx.Maybe(TypeDescriptor)

See Also

Reference

TypeDescriptor Structure
CommandLine.Core Namespace

Clone this wiki locally