ModulePresenceContext
Provides runtime context used to evaluate module presence predicates.
- Kind:
Class - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/ModulePresenceContext.cs
Signature
Section titled “Signature”public sealed class ModulePresenceContextInheritance
Section titled “Inheritance”Properties
Section titled “Properties”Channel
Section titled “Channel”Gets the runtime channel currently resolving routes.
public ReplRuntimeChannel Channel { get; }Returns
Section titled “Returns”SessionInfo
Section titled “SessionInfo”Gets read-only terminal/session metadata for dynamic presence decisions.
public IReplSessionInfo SessionInfo { get; }Returns
Section titled “Returns”SessionState
Section titled “SessionState”Gets mutable per-session state for dynamic presence decisions.
public IReplSessionState SessionState { get; }