Table of Contents

Class MessageFilterRuleAttribute

Namespace
PatternKit.Generators.Messaging
Assembly
PatternKit.Generators.Abstractions.dll

Marks a static predicate as an allow rule in a generated message filter.

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class MessageFilterRuleAttribute : Attribute
Inheritance
MessageFilterRuleAttribute
Inherited Members

Constructors

MessageFilterRuleAttribute(string, int)

Creates a message-filter allow rule attribute.

public MessageFilterRuleAttribute(string name, int order)

Parameters

name string
order int

Properties

Name

Rule name used for generated metadata and diagnostics.

public string Name { get; }

Property Value

string

Order

Rule order in the generated message filter.

public int Order { get; }

Property Value

int