protected override void SomethingChanged() { base.SomethingChanged(); if (LearningFactory.CheckInitialState(Model, out var _)) { OnStepCompleted(); } }
public override Message GetErrorDescription() { var innerMessages = new List <Message>(); if (!LearningFactory.CheckInitialState(Model, out var errors)) { errors.ForEach(x => innerMessages.Add(new Message { Header = x })); } return(new Message { Header = "Установка исходного положения", Messages = innerMessages }); }