-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Reflection_InfoOf
Andrew Koryavchenko edited this page Jun 17, 2018
·
10 revisions
Provides a helper class to get the property, field, ctor or method from an expression.
System.Object
CodeJam.Reflection.InfoOf
Namespace: CodeJam.Reflection
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static class InfoOf
VB
Public NotInheritable Class InfoOf
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
type InfoOf = class end
Name | Description | |
---|---|---|
Constructor(T)() | Returns the constructor. | |
Constructor(T)(Expression(Func(T))) | Returns the constructor. | |
Field(TValue)(Expression(Func(TValue))) | Returns the field. | |
Field(T)(Expression(Func(T, Object))) | Returns the field. | |
Field(T, TValue)(Expression(Func(T, TValue))) | Returns the field. | |
Member(TValue)(Expression(Func(TValue))) | Returns the MemberInfo. | |
Member(T)(Expression(Func(T, Object))) | Returns the MemberInfo. | |
Member(T, TValue)(Expression(Func(T, TValue))) | Returns the MemberInfo. | |
Method(Expression(Action)) | Returns the method. | |
Method(T)(Expression(Action(T))) | Returns the method. | |
Method(T)(Expression(Func(T))) | Returns the method. | |
Method(T)(Expression(Func(T, Object))) | Returns the method. | |
Method(T, TResult)(Expression(Func(T, TResult))) | Returns the method. | |
Property(TValue)(Expression(Func(TValue))) | Returns the property. | |
Property(T)(Expression(Func(T, Object))) | Returns the property. | |
Property(T, TValue)(Expression(Func(T, TValue))) | Returns the property. |