Skip to content

M_CommandLine_Core_SpecificationPropertyRules_EnforceSingle

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

SpecificationPropertyRules.EnforceSingle Method

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

Syntax

C#

private static Func<IEnumerable<SpecificationProperty>, IEnumerable<Error>> EnforceSingle(
	IEnumerable<Token> tokens
)

VB

Private Shared Function EnforceSingle ( 
	tokens As IEnumerable(Of Token)
) As Func(Of IEnumerable(Of SpecificationProperty), IEnumerable(Of Error))

C++

private:
static Func<IEnumerable<SpecificationProperty^>^, IEnumerable<Error^>^>^ EnforceSingle(
	IEnumerable<Token^>^ tokens
)

F#

private static member EnforceSingle : 
        tokens : IEnumerable<Token> -> Func<IEnumerable<SpecificationProperty>, IEnumerable<Error>> 

Parameters

 

tokens
Type: System.Collections.Generic.IEnumerable(Token)

Return Value

Type: Func(IEnumerable(SpecificationProperty), IEnumerable(Error))

See Also

Reference

SpecificationPropertyRules Class
CommandLine.Core Namespace

Clone this wiki locally