Table of Contents

Class SetExpressionRewriterAttribute

Namespace
NMF.Expressions
Assembly
NMF.Expressions.dll

Denotes an attribute to specify a proxy method to rewrite a method to a lens

[AttributeUsage(AttributeTargets.Method)]
public sealed class SetExpressionRewriterAttribute : ProxyMethodAttribute
Inheritance
SetExpressionRewriterAttribute
Inherited Members
Extension Methods

Constructors

SetExpressionRewriterAttribute(string)

Creates a new instance

public SetExpressionRewriterAttribute(string methodName)

Parameters

methodName string

The name of the rewriter method

SetExpressionRewriterAttribute(Type, string)

Creates a new instance

public SetExpressionRewriterAttribute(Type proxyType, string methodName)

Parameters

proxyType Type

The type that hosts the rewriter method

methodName string

The name of the rewriter method