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
Properties
Name
Recipient name returned in delivered recipient results.
public string Name { get; }
Property Value
Order
Recipient order in the generated recipient list.
public int Order { get; }
Property Value
PredicateMethodName
Name of the static predicate method used by this recipient.
public string PredicateMethodName { get; }