Skip to main content

CommandContextExtensions

A static class in Root.Township, Alta.Console.

Debug helper for CommandContext.

Fields​

3 private and internal fields
MemberWhat it is
private const string NullContextMessageText returned for a null context.
private static StringBuilder sbShared string builder, used under threadLock.
private static readonly object threadLockLock around the shared string builder.

Methods​

MemberWhat it is
static string GetDebugInfo(CommandContext context)Text with the context's calling user, raw command, group permissions and creation time. Thread safe.