Skip to content

M_CodeJam_Reflection_InfoOf_Constructor__1

andrewvk edited this page Mar 30, 2016 · 10 revisions

InfoOf.Constructor(T) Method

[This is preliminary documentation and is subject to change.]

Returns the contsructor.

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

Syntax

C#

[NotNullAttribute]
[PureAttribute]
public static ConstructorInfo Constructor<T>(
	[NotNullAttribute] Expression<Func<T>> expression
)

VB

<NotNullAttribute>
<PureAttribute>
Public Shared Function Constructor(Of T) ( 
	<NotNullAttribute> expression As Expression(Of Func(Of T))
) As ConstructorInfo

F#

[<NotNullAttribute>]
[<PureAttribute>]
static member Constructor : 
        [<NotNullAttribute>] expression : Expression<Func<'T>> -> ConstructorInfo 

Parameters

 

expression
Type: System.Linq.Expressions.Expression(Func(T))
The expression to analyze.

Type Parameters

 

T

Return Value

Type: ConstructorInfo
The ConstructorInfo instance.

See Also

Reference

InfoOf Class
CodeJam.Reflection Namespace

Clone this wiki locally