Skip to content

M_CodeJam_Ranges_CompositeRange_1_WithValues__1

Andrew Koryavchenko edited this page Jun 17, 2018 · 1 revision

CompositeRange(T).WithValues(T2) Method (Func(T, T2))

Creates a new composite range with the key specified.

Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public CompositeRange<T2> WithValues<T2>(
	Func<T, T2> newValueSelector
)

VB

Public Function WithValues(Of T2) ( 
	newValueSelector As Func(Of T, T2)
) As CompositeRange(Of T2)

F#

member WithValues : 
        newValueSelector : Func<'T, 'T2> -> CompositeRange<'T2> 

Parameters

 

newValueSelector
Type: System.Func(T, T2)
The value of the new key.

Type Parameters

 

T2
The type of new range values.

Return Value

Type: CompositeRange(T2)
A new composite range with the key specified.

See Also

Reference

CompositeRange(T) Structure
WithValues Overload
CodeJam.Ranges Namespace

Clone this wiki locally