• Home
  • API
  • Change Log
  • Github

    Show / Hide Table of Contents
    • DotNetHelper.FastMember.Extension
      • ExtFastMember
      • ObjectMapper
    • DotNetHelper.FastMember.Extension.Exceptions
      • PropertyMapException
    • DotNetHelper.FastMember.Extension.Extension
      • FastMemberExtension
    • DotNetHelper.FastMember.Extension.Helpers
      • DynamicObjectHelper
      • New<T>
    • DotNetHelper.FastMember.Extension.Models
      • MemberWrapper

    Class FastMemberExtension

    REFERENCE FROM https://stackoverflow.com/questions/21976125/how-to-get-the-attribute-data-of-a-member-with-fastmember

    Inheritance
    Object
    FastMemberExtension
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: DotNetHelper.FastMember.Extension.Extension
    Assembly: DotNetHelper.FastMember.Extension.dll
    Syntax
    public static class FastMemberExtension

    Methods

    | Improve this Doc View Source

    GetMemberAttribute<T>(Member, Boolean)

    Declaration
    public static T GetMemberAttribute<T>(this Member member, bool inherit = false)
        where T : Attribute
    Parameters
    Type Name Description
    FastMember.Member member
    Boolean inherit
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    GetMemberInfo(Member)

    Declaration
    public static MemberInfo GetMemberInfo(this Member member)
    Parameters
    Type Name Description
    FastMember.Member member
    Returns
    Type Description
    MemberInfo
    | Improve this Doc View Source

    GetPrivateField<T>(Object, String)

    Declaration
    public static T GetPrivateField<T>(this object obj, string name)
    Parameters
    Type Name Description
    Object obj
    String name
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    GetPrivateProperty<T>(Object, String)

    Declaration
    public static T GetPrivateProperty<T>(this object obj, string name)
    Parameters
    Type Name Description
    Object obj
    String name
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Joseph McNeal Jr