ToolbarTaskPlugin
Record in Oadm.Sdk.Client · Oadm.Sdk.Client.dll
A task plugin as the toolbar sees it (server TaskService.ListTaskPlugins).
public sealed record ToolbarTaskPlugin(string Id, string DisplayName, string? IconKey, bool ShowInToolbar, bool RequiresDialog)Parameters
Id: Plugin id, e.g. “oadm.restart”.DisplayName: Menu text.IconKey: Theme icon key (“restart”), resolve withControls.ToolbarButton.IconKey.ShowInToolbar: The plugin asks for a toolbar button.RequiresDialog: Running it opens the plugin’s dialog first.
Properties
Section titled “Properties”DisplayName
Section titled “DisplayName”string DisplayName { get; init; }Menu text.
IconKey
Section titled “IconKey”string? IconKey { get; init; }Theme icon key (“restart”), resolve with Controls.ToolbarButton.IconKey.
string Id { get; init; }Plugin id, e.g. “oadm.restart”.
RequiresDialog
Section titled “RequiresDialog”bool RequiresDialog { get; init; }Running it opens the plugin’s dialog first.
ShowInToolbar
Section titled “ShowInToolbar”bool ShowInToolbar { get; init; }The plugin asks for a toolbar button.