Docs · API reference · Verso.Abstractions

IMagicCommandContext Interface#

Context provided to magic command handlers during execution. Extends IVersoContext with command-specific state.

public interface IMagicCommandContext : Verso.Abstractions.IVersoContext

Implements IVersoContext

Properties#

RemainingCode Property#

Gets the cell source code that follows the magic command directive.

string RemainingCode { get; }

Property Value#

System.String

SuppressExecution Property#

Gets or sets a value indicating whether normal kernel execution should be suppressed after the magic command completes.

bool SuppressExecution { get; set; }

Property Value#

System.Boolean