Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetReferenceTypePropertyGetter()

static Func< PropertyValue, PropertyValue > System.Diagnostics.Tracing.PropertyValue.GetReferenceTypePropertyGetter ( PropertyInfo property)
inlinestaticprivate

Definition at line 471 of file PropertyValue.cs.

472 {
473 TypeHelper typeHelper = (TypeHelper)Activator.CreateInstance(typeof(ReferenceTypeHelper<>).MakeGenericType(property.DeclaringType));
474 return typeHelper.GetPropertyGetter(property);
475 }

References System.Activator.CreateInstance(), System.Reflection.MemberInfo.DeclaringType, and System.Diagnostics.Tracing.PropertyValue.TypeHelper.GetPropertyGetter().

Referenced by System.Diagnostics.Tracing.PropertyValue.GetPropertyGetter().