Class GenerateRoutingSlipAttribute
- Namespace
- PatternKit.Generators.Messaging
- Assembly
- PatternKit.Generators.Abstractions.dll
Generates typed factory methods for a routing slip class.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
public sealed class GenerateRoutingSlipAttribute : Attribute
- Inheritance
-
GenerateRoutingSlipAttribute
- Inherited Members
Constructors
GenerateRoutingSlipAttribute(Type)
Creates a routing slip generator attribute.
public GenerateRoutingSlipAttribute(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 processed by generated routing slips.
public Type PayloadType { get; }