Version 3.0.0.2

MemberAliasFieldInfo class

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public sealed class MemberAliasFieldInfo : FieldInfo, ICustomAttributeProvider, _MemberInfo, _FieldInfo
Inheritance
  • System.Object
  • System.Reflection.MemberInfo
  • System.Reflection.FieldInfo
  • MemberAliasFieldInfo

Constructors

MemberAliasFieldInfo(FieldInfo, String)
public MemberAliasFieldInfo(FieldInfo field, string namePrefix)
Parameters
System.Reflection.FieldInfo field

System.String namePrefix

MemberAliasFieldInfo(FieldInfo, String, String)
public MemberAliasFieldInfo(FieldInfo field, string namePrefix, string separatorString)
Parameters
System.Reflection.FieldInfo field

System.String namePrefix

System.String separatorString

Properties

AliasedField
public FieldInfo AliasedField { get; }
Attributes
public override FieldAttributes Attributes { get; }
DeclaringType
public override Type DeclaringType { get; }
FieldHandle
public override RuntimeFieldHandle FieldHandle { get; }
FieldType
public override Type FieldType { get; }
MetadataToken
public override int MetadataToken { get; }
Module
public override Module Module { get; }
Name
public override string Name { get; }
ReflectedType
public override Type ReflectedType { get; }

Methods

GetCustomAttributes(Boolean)
public override object[] GetCustomAttributes(bool inherit)
Parameters
System.Boolean inherit

Returns
System.Object[]

GetCustomAttributes(Type, Boolean)
public override object[] GetCustomAttributes(Type attributeType, bool inherit)
Parameters
System.Type attributeType

System.Boolean inherit

Returns
System.Object[]

GetValue(Object)
public override object GetValue(object obj)
Parameters
System.Object obj

Returns
System.Object

IsDefined(Type, Boolean)
public override bool IsDefined(Type attributeType, bool inherit)
Parameters
System.Type attributeType

System.Boolean inherit

Returns
System.Boolean

SetValue(Object, Object, BindingFlags, Binder, CultureInfo)
public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
Parameters
System.Object obj

System.Object value

System.Reflection.BindingFlags invokeAttr

System.Reflection.Binder binder

System.Globalization.CultureInfo culture

Extension Methods