Version 3.0.0.2

MemberAliasMethodInfo class

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public sealed class MemberAliasMethodInfo : MethodInfo, ICustomAttributeProvider, _MemberInfo, _MethodBase, _MethodInfo
Inheritance
  • System.Object
  • System.Reflection.MemberInfo
  • System.Reflection.MethodBase
  • System.Reflection.MethodInfo
  • MemberAliasMethodInfo

Constructors

MemberAliasMethodInfo(MethodInfo, String)
public MemberAliasMethodInfo(MethodInfo method, string namePrefix)
Parameters
System.Reflection.MethodInfo method

System.String namePrefix

MemberAliasMethodInfo(MethodInfo, String, String)
public MemberAliasMethodInfo(MethodInfo method, string namePrefix, string separatorString)
Parameters
System.Reflection.MethodInfo method

System.String namePrefix

System.String separatorString

Properties

AliasedMethod
public MethodInfo AliasedMethod { get; }
Attributes
public override MethodAttributes Attributes { get; }
DeclaringType
public override Type DeclaringType { get; }
MethodHandle
public override RuntimeMethodHandle MethodHandle { get; }
Name
public override string Name { get; }
ReflectedType
public override Type ReflectedType { get; }
ReturnType
public override Type ReturnType { get; }
ReturnTypeCustomAttributes
public override ICustomAttributeProvider ReturnTypeCustomAttributes { get; }

Methods

GetBaseDefinition()
public override MethodInfo GetBaseDefinition()
Returns
System.Reflection.MethodInfo

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[]

GetMethodImplementationFlags()
public override MethodImplAttributes GetMethodImplementationFlags()
Returns
System.Reflection.MethodImplAttributes

GetParameters()
public override ParameterInfo[] GetParameters()
Returns
System.Reflection.ParameterInfo[]

Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
Parameters
System.Object obj

System.Reflection.BindingFlags invokeAttr

System.Reflection.Binder binder

System.Object[] parameters

System.Globalization.CultureInfo culture

Returns
System.Object

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

System.Boolean inherit

Returns
System.Boolean

Extension Methods