Skip to content

T_CodeJam_Reflection_InfoOf

Andrew Koryavchenko edited this page Jun 17, 2018 · 10 revisions

InfoOf Class

Provides a helper class to get the property, field, ctor or method from an expression.

Inheritance Hierarchy

System.Object
  CodeJam.Reflection.InfoOf
Namespace: CodeJam.Reflection
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static class InfoOf

VB

Public NotInheritable Class InfoOf

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
type InfoOf =  class end

Methods

 

Name Description
Public methodStatic member Constructor(T)() Returns the constructor.
Public methodStatic member Constructor(T)(Expression(Func(T))) Returns the constructor.
Public methodStatic member Field(TValue)(Expression(Func(TValue))) Returns the field.
Public methodStatic member Field(T)(Expression(Func(T, Object))) Returns the field.
Public methodStatic member Field(T, TValue)(Expression(Func(T, TValue))) Returns the field.
Public methodStatic member Member(TValue)(Expression(Func(TValue))) Returns the MemberInfo.
Public methodStatic member Member(T)(Expression(Func(T, Object))) Returns the MemberInfo.
Public methodStatic member Member(T, TValue)(Expression(Func(T, TValue))) Returns the MemberInfo.
Public methodStatic member Method(Expression(Action)) Returns the method.
Public methodStatic member Method(T)(Expression(Action(T))) Returns the method.
Public methodStatic member Method(T)(Expression(Func(T))) Returns the method.
Public methodStatic member Method(T)(Expression(Func(T, Object))) Returns the method.
Public methodStatic member Method(T, TResult)(Expression(Func(T, TResult))) Returns the method.
Public methodStatic member Property(TValue)(Expression(Func(TValue))) Returns the property.
Public methodStatic member Property(T)(Expression(Func(T, Object))) Returns the property.
Public methodStatic member Property(T, TValue)(Expression(Func(T, TValue))) Returns the property.
  Back to Top

See Also

Reference

CodeJam.Reflection Namespace

Clone this wiki locally