initial
This commit is contained in:
19
src/Models/SessionData.cs
Normal file
19
src/Models/SessionData.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MarkdownEditor.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a complete application session state.
|
||||
/// </summary>
|
||||
public class SessionData
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the list of tabs that were open in the session.
|
||||
/// </summary>
|
||||
public List<SessionTabInfo> Tabs { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the index of the tab that was selected when the session was saved.
|
||||
/// </summary>
|
||||
public int SelectedTabIndex { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user