Skip to content

M_CommandLine_Core_Sequence_OfSequence

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

Sequence.OfSequence Method

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

Syntax

C#

private static IEnumerable<Token> OfSequence(
	this IEnumerable<Token> tokens,
	Token nameToken,
	TypeDescriptor info
)

VB

<ExtensionAttribute>
Private Shared Function OfSequence ( 
	tokens As IEnumerable(Of Token),
	nameToken As Token,
	info As TypeDescriptor
) As IEnumerable(Of Token)

C++

private:
[ExtensionAttribute]
static IEnumerable<Token^>^ OfSequence(
	IEnumerable<Token^>^ tokens, 
	Token^ nameToken, 
	TypeDescriptor info
)

F#

[<ExtensionAttribute>]
private static member OfSequence : 
        tokens : IEnumerable<Token> * 
        nameToken : Token * 
        info : TypeDescriptor -> IEnumerable<Token> 

Parameters

 

tokens
Type: System.Collections.Generic.IEnumerable(Token)
nameToken
Type: CommandLine.Core.Token
info
Type: CommandLine.Core.TypeDescriptor

Return Value

Type: IEnumerable(Token)

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable(Token). When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

Sequence Class
CommandLine.Core Namespace

Clone this wiki locally