Skip to content

M_CodeJam_Expressions_ExpressionExtensions_GetConstructor

andrewvk edited this page Jun 23, 2016 · 5 revisions

ExpressionExtensions.GetConstructor Method

Returns the constructor.

Namespace: CodeJam.Expressions
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public static ConstructorInfo GetConstructor(
	this LambdaExpression expression
)

VB

<ExtensionAttribute>
Public Shared Function GetConstructor ( 
	expression As LambdaExpression
) As ConstructorInfo

F#

[<ExtensionAttribute>]
static member GetConstructor : 
        expression : LambdaExpression -> ConstructorInfo 

Parameters

 

expression
Type: System.Linq.Expressions.LambdaExpression
The expression to analyze.

Return Value

Type: ConstructorInfo
The ConstructorInfo instance.

Usage Note

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

ExpressionExtensions Class
CodeJam.Expressions Namespace

Clone this wiki locally