Class GenerateRecipientListAttribute
- Namespace
- PatternKit.Generators.Messaging
- Assembly
- PatternKit.Generators.Abstractions.dll
Generates typed factory methods for a recipient-list class.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
public sealed class GenerateRecipientListAttribute : Attribute
- Inheritance
-
GenerateRecipientListAttribute
- Inherited Members
Constructors
GenerateRecipientListAttribute(Type)
Creates a recipient-list generator attribute.
public GenerateRecipientListAttribute(Type payloadType)
Parameters
payloadTypeType
Properties
AsyncFactoryName
Name of the generated async factory method.
public string AsyncFactoryName { get; set; }
Property Value
FactoryName
Name of the generated sync factory method.
public string FactoryName { get; set; }
Property Value
PayloadType
Message payload type dispatched by generated recipient lists.
public Type PayloadType { get; }