Skip to content

IssuedCertificateAction

Record in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll

One entry of a row’s actions menu (SDK 0.4.0; the row’s ⋯ button and its right-click menu, one source: IssuedCertificateListViewModel.MenuOf): its text, command and parameter, red for one that deletes, revokes or removes, or a submenu (IssuedCertificateAction.Items). IssuedCertificateAction.Separator is the line between the everyday and the red ones.

public sealed record IssuedCertificateAction(string Text, ICommand? Command = null, object? Parameter = null, bool IsDanger = false, IReadOnlyList<IssuedCertificateAction>? Items = null)

Parameters

  • Text: The entry’s text (“Export”, “Delete”).
  • Command: What the entry runs; null for a submenu.
  • Parameter: The command’s parameter (the row).
  • IsDanger: Red: the entry deletes, revokes or removes.
  • Items: The entries of a submenu; null for a plain entry.
ICommand? Command { get; init; }

What the entry runs; null for a submenu.

bool IsDanger { get; init; }

Red: the entry deletes, revokes or removes.

bool IsSeparator { get; }

The entry is IssuedCertificateAction.Separator.

IReadOnlyList<IssuedCertificateAction>? Items { get; init; }

The entries of a submenu; null for a plain entry.

object? Parameter { get; init; }

The command’s parameter (the row).

static IssuedCertificateAction Separator { get; }

The line between groups of entries.

string Text { get; init; }

The entry’s text (“Export”, “Delete”).