Class GenerateBackplaneTopologyAttribute
- Namespace
- PatternKit.Generators.Messaging
- Assembly
- PatternKit.Generators.Abstractions.dll
Generates a typed backplane topology method for request/reply routes and publish/subscribe endpoints.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
public sealed class GenerateBackplaneTopologyAttribute : Attribute
- Inheritance
-
GenerateBackplaneTopologyAttribute
- Inherited Members
Constructors
GenerateBackplaneTopologyAttribute(Type)
Creates a generated backplane topology attribute.
public GenerateBackplaneTopologyAttribute(Type servicesType)
Parameters
servicesTypeType
Properties
ConfigureMethodName
Name of the generated method that applies topology to a host builder.
public string ConfigureMethodName { get; set; }
Property Value
HostBuilderType
Host builder type that exposes the backplane topology fluent methods.
public Type? HostBuilderType { get; set; }
Property Value
ServicesType
Type that owns the handler methods referenced by route and subscription declarations.
public Type ServicesType { get; }