20 lines
518 B
C#
20 lines
518 B
C#
|
|
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; }
|
||
|
|
}
|