21 lines
665 B
C#
21 lines
665 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BeWoPlanerMobil.Models
|
|
{
|
|
/// <summary>
|
|
/// Im SessionModel werden Oids in der Session gespeichert, um dann beim Neuladen (z.B. nach einer Post-Anfrage) ausgewählte Objekte wieder aus der Datenbank holen zu können.
|
|
/// </summary>
|
|
[Serializable]
|
|
public abstract class BaseSessionModel
|
|
{
|
|
public int AiVoiceMode { get; set; }
|
|
|
|
public Dictionary<string, bool> Collapsibles2IsShown { get; set; } = new Dictionary<string, bool>();
|
|
|
|
public virtual void ResetValues()
|
|
{
|
|
Collapsibles2IsShown = new Dictionary<string, bool>();
|
|
}
|
|
}
|
|
} |