Show / Hide Table of Contents

Class ProxyMethodAttribute

Denotes an attribute that denotes the definition of a proxy method

Inheritance
object
Attribute
ProxyMethodAttribute
ExpressionCompileRewriterAttribute
LensPutAttribute
ObservableProxyAttribute
SetExpressionRewriterAttribute
Inherited Members
Attribute.Equals(object)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, bool)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, bool)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, bool)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, bool)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, bool)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, bool)
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, bool)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, bool)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
Attribute.GetHashCode()
Attribute.IsDefaultAttribute()
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, bool)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, bool)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, bool)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, bool)
Attribute.Match(object)
Attribute.TypeId
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Expressions
Assembly: NMF.Expressions.dll
Syntax
public abstract class ProxyMethodAttribute : Attribute

Constructors

| Edit this page View Source

ProxyMethodAttribute(Type, string)

Creates a new instance

Declaration
protected ProxyMethodAttribute(Type proxyType, string methodName)
Parameters
Type Name Description
Type proxyType

The type of the proxy

string methodName

The name of the method

Properties

| Edit this page View Source

MethodName

The name of the method used as a proxy

Declaration
public string MethodName { get; }
Property Value
Type Description
string
| Edit this page View Source

ProxyType

The type in which the proxy method is defined

Declaration
public Type ProxyType { get; }
Property Value
Type Description
Type

Methods

| Edit this page View Source

InitializeProxyMethod(MethodInfo, Type[], out MethodInfo)

Finds the proxy method for the given source method

Declaration
public bool InitializeProxyMethod(MethodInfo sourceMethod, Type[] parameterTypes, out MethodInfo proxyMethod)
Parameters
Type Name Description
MethodInfo sourceMethod

The method for which a proxy is needed

Type[] parameterTypes

The desired parameter types

MethodInfo proxyMethod

The proxy method

Returns
Type Description
bool

True, if a suitable method was found, otherwise False

Exceptions
Type Condition
ArgumentNullException

Thrown if parameterTypes is null

Extension Methods

ExpressionExtensions.AsOne<T>(T)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX