Class WireTapHandlerAttribute
- Namespace
- PatternKit.Generators.Messaging
- Assembly
- PatternKit.Generators.Abstractions.dll
Marks a static method as a generated wire-tap handler.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class WireTapHandlerAttribute : Attribute
- Inheritance
-
WireTapHandlerAttribute
- Inherited Members
Constructors
WireTapHandlerAttribute(string, int)
Creates a wire-tap handler attribute.
public WireTapHandlerAttribute(string name, int order)
Parameters
Properties
Name
Tap handler name used in result metadata and diagnostics.
public string Name { get; }
Property Value
Order
Tap order in the generated wire tap.
public int Order { get; }