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.
Properties
Section titled “Properties”Command
Section titled “Command”ICommand? Command { get; init; }What the entry runs; null for a submenu.
IsDanger
Section titled “IsDanger”bool IsDanger { get; init; }Red: the entry deletes, revokes or removes.
IsSeparator
Section titled “IsSeparator”bool IsSeparator { get; }The entry is IssuedCertificateAction.Separator.
IReadOnlyList<IssuedCertificateAction>? Items { get; init; }The entries of a submenu; null for a plain entry.
Parameter
Section titled “Parameter”object? Parameter { get; init; }The command’s parameter (the row).
Separator
Section titled “Separator”static IssuedCertificateAction Separator { get; }The line between groups of entries.
string Text { get; init; }The entry’s text (“Export”, “Delete”).