Table of Contents

Class TigerCliProviderOptions

Namespace
ItTiger.TigerCli.Commands
Assembly
ItTiger.TigerCli.dll
Optional per-registration provider options, supplied through the trailing configure callback on the provider registration APIs (AddProvider, AddAsyncProvider, Add, AddAsync). Carries provider-specific framework text such as the interactive slow-provider loading message and the required-prompt empty message. Providers never render UI — this only describes text the framework may show while handling provider choices.
public sealed class TigerCliProviderOptions
Inheritance
TigerCliProviderOptions
Inherited Members

Methods

EmptyMessage(string)

Sets a literal message used when a required provider-backed prompt has no selectable outcome. Optional nullable prompts that can offer (None) do not use this message.
public TigerCliProviderOptions EmptyMessage(string message)

Parameters

message string

Returns

TigerCliProviderOptions

EmptyMessageResource(string, string?)

Sets a localized empty message resolved from the app ResourceManager (registered via UseAppResources) for the active run culture, with an optional literal fallback used when the key does not resolve.
public TigerCliProviderOptions EmptyMessageResource(string resourceKey, string? fallback = null)

Parameters

resourceKey string
fallback string

Returns

TigerCliProviderOptions

LoadingMessage(string)

Sets a literal loading message shown (interactive only) while a slow provider resolves its choices, replacing the generic default. Has no effect in non-interactive mode.
public TigerCliProviderOptions LoadingMessage(string message)

Parameters

message string

Returns

TigerCliProviderOptions

LoadingMessageResource(string, string?)

Sets a localized loading message resolved from the app ResourceManager (registered via UseAppResources) for the active run culture, with an optional literal fallback used when the key does not resolve. Has no effect in non-interactive mode.
public TigerCliProviderOptions LoadingMessageResource(string resourceKey, string? fallback = null)

Parameters

resourceKey string
fallback string

Returns

TigerCliProviderOptions