Class GenerateWireTapAttribute
- Namespace
- PatternKit.Generators.Messaging
- Assembly
- PatternKit.Generators.Abstractions.dll
Generates a typed wire-tap factory for a partial class or struct.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
public sealed class GenerateWireTapAttribute : Attribute
- Inheritance
-
GenerateWireTapAttribute
- Inherited Members
Constructors
GenerateWireTapAttribute(Type)
Creates a wire-tap generator attribute.
public GenerateWireTapAttribute(Type payloadType)
Parameters
payloadTypeType
Properties
FactoryName
Name of the generated factory method.
public string FactoryName { get; set; }
Property Value
PayloadType
Payload type observed by the generated wire tap.
public Type PayloadType { get; }
Property Value
TapName
Name assigned to the generated wire tap.
public string TapName { get; set; }