Show / Hide Table of Contents

    Class ReflectionObject

    Inheritance
    System.Object
    ReflectionObject
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Bayat.Json.Utilities
    Assembly: Bayat.Json.Runtime.dll
    Syntax
    public class ReflectionObject

    Constructors

    | Improve this Doc View Source

    ReflectionObject()

    Declaration
    public ReflectionObject()

    Properties

    | Improve this Doc View Source

    Creator

    Declaration
    public ObjectConstructor<object> Creator { get; }
    Property Value
    Type Description
    ObjectConstructor<System.Object>
    | Improve this Doc View Source

    Members

    Declaration
    public IDictionary<string, ReflectionMember> Members { get; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, ReflectionMember>

    Methods

    | Improve this Doc View Source

    Create(Type, MethodBase, String[])

    Declaration
    public static ReflectionObject Create(Type t, MethodBase creator, params string[] memberNames)
    Parameters
    Type Name Description
    System.Type t
    System.Reflection.MethodBase creator
    System.String[] memberNames
    Returns
    Type Description
    ReflectionObject
    | Improve this Doc View Source

    Create(Type, String[])

    Declaration
    public static ReflectionObject Create(Type t, params string[] memberNames)
    Parameters
    Type Name Description
    System.Type t
    System.String[] memberNames
    Returns
    Type Description
    ReflectionObject
    | Improve this Doc View Source

    GetType(String)

    Declaration
    public Type GetType(string member)
    Parameters
    Type Name Description
    System.String member
    Returns
    Type Description
    System.Type
    | Improve this Doc View Source

    GetValue(Object, String)

    Declaration
    public object GetValue(object target, string member)
    Parameters
    Type Name Description
    System.Object target
    System.String member
    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    SetValue(Object, String, Object)

    Declaration
    public void SetValue(object target, string member, object value)
    Parameters
    Type Name Description
    System.Object target
    System.String member
    System.Object value
    • Improve this Doc
    • View Source
    • 0 Comments