文档

Unity Engine

Unity Engine

ReflectedMemberProperty

Initializes a new ReflectedMemberProperty<TContainer, TValue> instance for the specified FieldInfo.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Constructor
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule

ReflectedMemberProperty(FieldInfo, string)

Initializes a new ReflectedMemberProperty<TContainer, TValue> instance for the specified FieldInfo.
public ReflectedMemberProperty(FieldInfo info, string name)

Parameters

The system reflection field info.

name

Use this name property--this might override the MemberInfo name

ReflectedMemberProperty(PropertyInfo, string)

Initializes a new ReflectedMemberProperty<TContainer, TValue> instance for the specified PropertyInfo.
public ReflectedMemberProperty(PropertyInfo info, string name)

Parameters

The system reflection property info.

name

Use this name property--this might override the MemberInfo name