Skip to content

M_CommandLine_Core_ValueMapper_MapValues

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

ValueMapper.MapValues Method

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

Syntax

C#

public static Result<IEnumerable<SpecificationProperty>, Error> MapValues(
	IEnumerable<SpecificationProperty> specProps,
	IEnumerable<string> values,
	Func<IEnumerable<string>, Type, bool, Maybe<Object>> converter
)

VB

Public Shared Function MapValues ( 
	specProps As IEnumerable(Of SpecificationProperty),
	values As IEnumerable(Of String),
	converter As Func(Of IEnumerable(Of String), Type, Boolean, Maybe(Of Object))
) As Result(Of IEnumerable(Of SpecificationProperty), Error)

C++

public:
static Result<IEnumerable<SpecificationProperty^>^, Error^>^ MapValues(
	IEnumerable<SpecificationProperty^>^ specProps, 
	IEnumerable<String^>^ values, 
	Func<IEnumerable<String^>^, Type^, bool, Maybe<Object^>^>^ converter
)

F#

static member MapValues : 
        specProps : IEnumerable<SpecificationProperty> * 
        values : IEnumerable<string> * 
        converter : Func<IEnumerable<string>, Type, bool, Maybe<Object>> -> Result<IEnumerable<SpecificationProperty>, Error> 

Parameters

 

specProps
Type: System.Collections.Generic.IEnumerable(SpecificationProperty)
values
Type: System.Collections.Generic.IEnumerable(String)
converter
Type: System.Func(IEnumerable(String), Type, Boolean, Maybe(Object))

Return Value

Type: Result(IEnumerable(SpecificationProperty), Error)

See Also

Reference

ValueMapper Class
CommandLine.Core Namespace

Clone this wiki locally