Пример #1
0
        /// <summary>
        /// Reloads <see cref="Stages"/> collection accordingly to selected <see cref="NoteStageType"/>
        /// </summary>
        private void ReloadStages()
        {
            Stages?.ForEach(x => x.IsSelected = false);

            Stages?.Clear();

            Stages?.AddRange(NoteService
                             .CurrentNotesAppSettings
                             .StagesList
                             .Where(x => x.StageType == NoteStageType));
        }