Table of Contents

Class DestinationVariableAttribute

Namespace
Steeltoe.Messaging.Handler.Attributes
Assembly
Steeltoe.Messaging.Abstractions.dll

Attribute that indicates a method parameter should be bound to a template variable in a destination template string. Supported on message handling methods such as those attributed with MessageMapping

[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
public class DestinationVariableAttribute : Attribute
Inheritance
DestinationVariableAttribute
Inherited Members

Constructors

DestinationVariableAttribute(string)

Initializes a new instance of the DestinationVariableAttribute class.

public DestinationVariableAttribute(string name = null)

Parameters

name string

the name of the destination template variable

Properties

Name

Gets or sets the name of the destination template variable

public virtual string Name { get; set; }

Property Value

string