Version 2.1.0.0

DeepReflection class

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public static class DeepReflection
Not yet documented.
Inheritance
  • System.Object
  • DeepReflection

Methods

CreateValueGetter<TResult>(Type, String, Boolean)
Not yet documented.
public static Func<TResult> CreateValueGetter<TResult>(Type rootType, string path, bool allowEmit = true)
Parameters
System.Type rootType

System.String path

System.Boolean allowEmit

Returns
System.Func<TResult>

Type Parameters
TResult

CreateValueGetter<TTarget, TResult>(String, Boolean)
Not yet documented.
public static Func<TTarget, TResult> CreateValueGetter<TTarget, TResult>(string path, bool allowEmit = true)
Parameters
System.String path

System.Boolean allowEmit

Returns
System.Func<TTarget, TResult>

Type Parameters
TTarget

TResult

CreateWeakInstanceValueGetter(Type, Type, String, Boolean)
Not yet documented.
public static Func<object, object> CreateWeakInstanceValueGetter(Type rootType, Type resultType, string path, bool allowEmit = true)
Parameters
System.Type rootType

System.Type resultType

System.String path

System.Boolean allowEmit

Returns
System.Func<System.Object, System.Object>

CreateWeakInstanceValueGetter<TResult>(Type, String, Boolean)
Not yet documented.
public static Func<object, TResult> CreateWeakInstanceValueGetter<TResult>(Type rootType, string path, bool allowEmit = true)
Parameters
System.Type rootType

System.String path

System.Boolean allowEmit

Returns
System.Func<System.Object, TResult>

Type Parameters
TResult

CreateWeakInstanceValueSetter(Type, Type, String, Boolean)
Not yet documented.
public static Action<object, object> CreateWeakInstanceValueSetter(Type rootType, Type argType, string path, bool allowEmit = true)
Parameters
System.Type rootType

System.Type argType

System.String path

System.Boolean allowEmit

Returns
System.Action<System.Object, System.Object>

CreateWeakStaticValueGetter(Type, Type, String, Boolean)
Not yet documented.
public static Func<object> CreateWeakStaticValueGetter(Type rootType, Type resultType, string path, bool allowEmit = true)
Parameters
System.Type rootType

System.Type resultType

System.String path

System.Boolean allowEmit

Returns
System.Func<System.Object>