Cuemon .NET Framework
Parse<TSource,T1,T2,TResult>(TSource,Doer<TSource,T1,T2,TResult>,T1,T2) Method

The type of the source to convert.
The type of the first parameter of the function delegate converter.
The type of the second parameter of the function delegate converter.
The type of the converted result.
The source to parse and convert using the function delegate converter.
The function delegate that converts TSource to a TResult representation.
The first parameter of the function delegate converter.
The second parameter of the function delegate converter.
Converts the specified source to a TResult representation using the specified converter.
Syntax
'Declaration
 
Public Overloads Shared Function Parse
    (Of TSource,T1,T2,TResult)( _
   ByVal source As TSource, _
   ByVal converter As Cuemon.Doer(Of TSource,T1,T2,TResult), _
   ByVal arg1 As T1, _
   ByVal arg2 As T2 _
) As TResult
public static TResult Parse<TSource,T1,T2,TResult>( 
   TSource source,
   Cuemon.Doer<TSource,T1,T2,TResult> converter,
   T1 arg1,
   T2 arg2
)

Parameters

source
The source to parse and convert using the function delegate converter.
converter
The function delegate that converts TSource to a TResult representation.
arg1
The first parameter of the function delegate converter.
arg2
The second parameter of the function delegate converter.

Type Parameters

TSource
The type of the source to convert.
T1
The type of the first parameter of the function delegate converter.
T2
The type of the second parameter of the function delegate converter.
TResult
The type of the converted result.

Return Value

A TResult that is equivalent to the TSource contained in source.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionconverter is null.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Converter Class
Converter Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback