Class ConstructorInfoExtractor
Extracts the underlying System.Reflection.ConstructorInfo from System.Linq.Expressions.Expressions
Inheritance
System.Object
ConstructorInfoExtractor
Namespace: Solti.Utils.Primitives
Assembly: Solti.Utils.Primitives.dll
Syntax
public static class ConstructorInfoExtractor : Object
Methods
Extract(LambdaExpression)
Extracts the underlying System.Reflection.ConstructorInfo from the given expression
Declaration
public static ConstructorInfo Extract(LambdaExpression expression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.LambdaExpression | expression |
Returns
Type | Description |
---|---|
System.Reflection.ConstructorInfo |
Extract<T>(Expression<Func<T>>)
Extracts the underlying System.Reflection.ConstructorInfo from the given expression
Declaration
public static ConstructorInfo Extract<T>(Expression<Func<T>> expression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<T>> | expression |
Returns
Type | Description |
---|---|
System.Reflection.ConstructorInfo |
Type Parameters
Name | Description |
---|---|
T |