Class DestinationVariableAttribute
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
Inheritance
System.Object
DestinationVariableAttribute
Namespace: Steeltoe.Messaging.Handler.Attributes
Assembly: Steeltoe.Messaging.Abstractions.dll
Syntax
public class DestinationVariableAttribute : Attribute
Constructors
| Edit this page View SourceDestinationVariableAttribute(String)
Initializes a new instance of the DestinationVariableAttribute class.
Declaration
public DestinationVariableAttribute(string name = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | the name of the destination template variable |
Properties
| Edit this page View SourceName
Gets or sets the name of the destination template variable
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |