Docs · API reference · Verso.Contexts
MagicCommandContext Class#
IMagicCommandContext implementation extending VersoContext with magic-command-specific state: remaining code after the directive and suppression control.
public sealed class MagicCommandContext : Verso.Contexts.VersoContext, Verso.Abstractions.IMagicCommandContext, Verso.Abstractions.IVersoContext
Inheritance System.Object → VersoContext → MagicCommandContext
Implements IMagicCommandContext, IVersoContext
Properties#
RemainingCode Property#
Gets the cell source code that follows the magic command directive.
public string RemainingCode { get; }
Implements RemainingCode
Property Value#
SuppressExecution Property#
Gets or sets a value indicating whether normal kernel execution should be suppressed after the magic command completes.
public bool SuppressExecution { get; set; }
Implements SuppressExecution