MemberAliasPropertyInfo

Provides a methods of representing imaginary properties which are unique to serialization.

We aggregate the PropertyInfo associated with this member and return a mangled form of the name.

namespace Sirenix.Utilities
{
public sealed class MemberAliasPropertyInfo : System.Reflection.PropertyInfo
}

Requirements

Namespace: Sirenix.Utilities
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

See Also

  • FieldInfo

Static Fields

Return Type Definition Description
string FakeNameSeparatorString The default fake name separator string.

Constructors

Definition Description
MemberAliasPropertyInfo(PropertyInfo, string) Initializes a new instance of the MemberAliasPropertyInfo class.
MemberAliasPropertyInfo(PropertyInfo, string, string) Initializes a new instance of the MemberAliasPropertyInfo class.

Properties

Return Type Definition Description
PropertyInfo AliasedProperty Not yet documented.
PropertyAttributes Attributes Gets the attributes.
bool CanRead Gets a value indicating whether this instance can read.
bool CanWrite Gets a value indicating whether this instance can write.
Type DeclaringType Gets the class that declares this member.
int MetadataToken Gets a value that identifies a metadata element.
Module Module Gets the module in which the type that declares the member represented by the current MemberInfo is defined.
string Name Gets the name of the current member.
Type PropertyType Gets the type of the property.
Type ReflectedType Gets the class object that was used to obtain this instance of MemberInfo.

Methods

Return Type Definition Description
MethodInfo[] GetAccessors(bool) Returns an array whose elements reflect the public and, if specified, non-public get, set, and other accessors of the property reflected by the current instance.
Object[] GetCustomAttributes(bool) When overridden in a derived class, returns an array of all custom attributes applied to this member.
Object[] GetCustomAttributes(Type, bool) When overridden in a derived class, returns an array of custom attributes applied to this member and identified by Type.
MethodInfo GetGetMethod(bool) When overridden in a derived class, returns the public or non-public get accessor for this property.
ParameterInfo[] GetIndexParameters() Gets the index parameters of the property.
MethodInfo GetSetMethod(bool) When overridden in a derived class, returns the set accessor for this property.
Object GetValue(Object, BindingFlags, Binder, Object[], CultureInfo) Gets the value of the property on the given instance.
bool IsDefined(Type, bool) When overridden in a derived class, indicates whether one or more attributes of the specified type or of its derived types is applied to this member.
void SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo) Sets the value of the property on the given instance.