Skip to content

ModulePresenceContext

Provides runtime context used to evaluate module presence predicates.

public sealed class ModulePresenceContext

Gets the runtime channel currently resolving routes.

public ReplRuntimeChannel Channel { get; }

ReplRuntimeChannel

Gets read-only terminal/session metadata for dynamic presence decisions.

public IReplSessionInfo SessionInfo { get; }

IReplSessionInfo

Gets mutable per-session state for dynamic presence decisions.

public IReplSessionState SessionState { get; }

IReplSessionState