Namespace: | Sirenix.Utilities |
Assembly: | Sirenix.Utilities |
public static class DeepReflection
public static Func<TResult> CreateValueGetter<TResult>(Type rootType, string path, bool allowEmit = true)
System.Type | rootType | |
System.String | path | |
System.Boolean | allowEmit |
System.Func<TResult> |
TResult |
public static Func<TTarget, TResult> CreateValueGetter<TTarget, TResult>(string path, bool allowEmit = true)
System.String | path | |
System.Boolean | allowEmit |
System.Func<TTarget, TResult> |
TTarget | |
TResult |
public static Func<object, object> CreateWeakInstanceValueGetter(Type rootType, Type resultType, string path, bool allowEmit = true)
System.Type | rootType | |
System.Type | resultType | |
System.String | path | |
System.Boolean | allowEmit |
System.Func<System.Object, System.Object> |
public static Func<object, TResult> CreateWeakInstanceValueGetter<TResult>(Type rootType, string path, bool allowEmit = true)
System.Type | rootType | |
System.String | path | |
System.Boolean | allowEmit |
System.Func<System.Object, TResult> |
TResult |
public static Action<object, object> CreateWeakInstanceValueSetter(Type rootType, Type argType, string path, bool allowEmit = true)
System.Type | rootType | |
System.Type | argType | |
System.String | path | |
System.Boolean | allowEmit |
System.Action<System.Object, System.Object> |
public static Func<object> CreateWeakStaticValueGetter(Type rootType, Type resultType, string path, bool allowEmit = true)
System.Type | rootType | |
System.Type | resultType | |
System.String | path | |
System.Boolean | allowEmit |
System.Func<System.Object> |