NotebookMetadataContext Class#
INotebookMetadata implementation backed by a NotebookModel.
public sealed class NotebookMetadataContext : Verso.Abstractions.INotebookMetadata
Inheritance System.Object → NotebookMetadataContext
Implements INotebookMetadata
Properties#
DefaultKernelId Property#
Gets the identifier of the default language kernel for new cells, or null if not specified.
public string? DefaultKernelId { get; }
Implements DefaultKernelId
Property Value#
FilePath Property#
Gets the file path of the notebook on disk, or null if the notebook has not been saved.
public string? FilePath { get; }
Implements FilePath
Property Value#
Parameters Property#
Gets the notebook's parameter definitions, or null if the notebook has no parameters.
public System.Collections.Generic.Dictionary<string,Verso.Abstractions.NotebookParameterDefinition>? Parameters { get; }
Implements Parameters
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.
public System.DateTime SessionStartedUtc { get; }
Implements SessionStartedUtc
Property Value#
Title Property#
Gets the notebook title, or null if no title is set.
public string? Title { get; }
Implements Title