Table of Contents

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

payloadType Type

Properties

AsyncFactoryName

Name of the generated async factory method.

public string AsyncFactoryName { get; set; }

Property Value

string

FactoryName

Name of the generated sync factory method.

public string FactoryName { get; set; }

Property Value

string

PayloadType

Message payload type dispatched by generated recipient lists.

public Type PayloadType { get; }

Property Value

Type