Skip to content

TaskPluginNames

Static class in Oadm.Sdk.Plugins · Oadm.Sdk.dll

Display name rules for task plugins, applied by the server loader and the client menu.

public static class TaskPluginNames
static string Normalize(string? name, int maxLength = 32)

TaskPluginNames.StripEllipsis, then shortens names over maxLength characters to maxLength - 1 characters plus “…”.

static string NormalizeGroup(string? group)

The group name to show: trimmed and shortened, TaskGroups.General when empty.

static string StripEllipsis(string? name)

Trims the name and removes trailing “…” / “…” (the host never shows dialog dots).

const string Ellipsis = "…"

The ellipsis used when a name is shortened.

const int MaxDisplayNameLength = 32

Longest task plugin display name (menu entries and toolbar buttons stay readable).

const int MaxTaskNameLength = 48

Longest task name (ITaskPlugin.GetTaskName) shown in the tasks pane.