CellModel Class#
Mutable model representing a single cell within a Verso notebook.
public sealed class CellModel
Inheritance System.Object → CellModel
Properties#
ExecutionCount Property#
The session-scoped execution counter for this cell, or null if the cell has not been executed.
public System.Nullable<int> ExecutionCount { get; set; }
Property Value#
Id Property#
Gets or sets the unique identifier for this cell.
public System.Guid Id { get; set; }
Property Value#
Language Property#
Gets or sets the programming language identifier for the cell, or null if unspecified.
public string? Language { get; set; }
Property Value#
LastElapsed Property#
The wall-clock duration of the most recent execution, or null if the cell has not been executed.
public System.Nullable<System.TimeSpan> LastElapsed { get; set; }
Property Value#
System.Nullable<System.TimeSpan>
LastStatus Property#
The status of the most recent execution ("Success", "Failed", or "Cancelled"),
or null if the cell has not been executed.
public string? LastStatus { get; set; }
Property Value#
Metadata Property#
Gets or sets arbitrary key-value metadata associated with this cell.
public System.Collections.Generic.Dictionary<string,object> Metadata { get; set; }
Property Value#
System.Collections.Generic.Dictionary<System.String,System.Object>
Outputs Property#
Gets or sets the list of outputs produced by executing this cell.
public System.Collections.Generic.List<Verso.Abstractions.CellOutput> Outputs { get; set; }
Property Value#
System.Collections.Generic.List<CellOutput>
Source Property#
Gets or sets the source text content of the cell.
public string Source { get; set; }
Property Value#
Type Property#
Gets or sets the cell type (e.g. "code", "markdown").
public string Type { get; set; }