Skip to content

EventField

Record in Oadm.Sdk.Events · Oadm.Sdk.dll

A data field an event carries (“detection” = “blur”); a rule can filter on it (equals).

public sealed record EventField(string Name, string DisplayName, EventFieldType Type = Text, IReadOnlyList<string>? Values = null)

Parameters

  • Name: The key in the event’s data, also its placeholder ({port}).
  • DisplayName: What the rule dialog shows.
  • Type: How a condition compares it.
  • Values: The choices of a EventFieldType.Choice field.
string DisplayName { get; init; }

What the rule dialog shows.

string Name { get; init; }

The key in the event’s data, also its placeholder ({port}).

EventFieldType Type { get; init; }

How a condition compares it.

IReadOnlyList<string>? Values { get; init; }

The choices of a EventFieldType.Choice field.