Skip to content

M_CommandLine_ErrorExtensions_OnlyMeaningfulOnes

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

ErrorExtensions.OnlyMeaningfulOnes Method

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

Syntax

C#

public static IEnumerable<Error> OnlyMeaningfulOnes(
	this IEnumerable<Error> errors
)

VB

<ExtensionAttribute>
Public Shared Function OnlyMeaningfulOnes ( 
	errors As IEnumerable(Of Error)
) As IEnumerable(Of Error)

C++

public:
[ExtensionAttribute]
static IEnumerable<Error^>^ OnlyMeaningfulOnes(
	IEnumerable<Error^>^ errors
)

F#

[<ExtensionAttribute>]
static member OnlyMeaningfulOnes : 
        errors : IEnumerable<Error> -> IEnumerable<Error> 

Parameters

 

errors
Type: System.Collections.Generic.IEnumerable(Error)

Return Value

Type: IEnumerable(Error)

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable(Error). 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

ErrorExtensions Class
CommandLine Namespace

Clone this wiki locally