protected void Page_Load(object sender, EventArgs e) { _manager = SentenceManager.GetInstance(); fillSavedSentences(); }
/// <summary> /// Gets instance of the <see cref="SentenceManager"/> class. /// </summary> /// <returns></returns> public static SentenceManager GetInstance() => _instance ?? (_instance = new SentenceManager());