Table of Contents

Class RecipientListRecipientAttribute

Namespace
PatternKit.Generators.Messaging
Assembly
PatternKit.Generators.Abstractions.dll

Marks a static method as a generated recipient-list handler.

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class RecipientListRecipientAttribute : Attribute
Inheritance
RecipientListRecipientAttribute
Inherited Members

Constructors

RecipientListRecipientAttribute(string, int, string)

Creates a recipient-list recipient attribute.

public RecipientListRecipientAttribute(string name, int order, string predicateMethodName)

Parameters

name string
order int
predicateMethodName string

Properties

Name

Recipient name returned in delivered recipient results.

public string Name { get; }

Property Value

string

Order

Recipient order in the generated recipient list.

public int Order { get; }

Property Value

int

PredicateMethodName

Name of the static predicate method used by this recipient.

public string PredicateMethodName { get; }

Property Value

string