Docs · API reference · Verso.Abstractions

INotebookMetadata Interface#

Provides read-only access to notebook-level metadata such as title, default kernel, and file path.

public interface INotebookMetadata

Properties#

DefaultKernelId Property#

Gets the identifier of the default language kernel for new cells, or null if not specified.

string? DefaultKernelId { get; }

Property Value#

System.String

FilePath Property#

Gets the file path of the notebook on disk, or null if the notebook has not been saved.

string? FilePath { get; }

Property Value#

System.String

Parameters Property#

Gets the notebook's parameter definitions, or null if the notebook has no parameters.

System.Collections.Generic.Dictionary<string,Verso.Abstractions.NotebookParameterDefinition>? Parameters { get; }

Property Value#

System.Collections.Generic.Dictionary<System.String,NotebookParameterDefinition>

SessionStartedUtc Property#

Gets the UTC timestamp when the notebook session was created. Used to detect assemblies generated during the current session for security consent purposes.

System.DateTime SessionStartedUtc { get; }

Property Value#

System.DateTime

Title Property#

Gets the notebook title, or null if no title is set.

string? Title { get; }

Property Value#

System.String