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>

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.