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()
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
|
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
|
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
|
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 |
|