-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Reflection_InfoOf
andrewvk edited this page Jul 1, 2016
·
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: 1.1.0.0 (1.1.0.0)
C#
public static class InfoOf
VB
Public NotInheritable Class InfoOf
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
type InfoOf = class end
The InfoOf type exposes the following members.
Name | Description | |
---|---|---|
Constructor(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. |