public void AddParent(Scheme parent) { Parents.Add(parent); }
public void AddScheme(Scheme scheme) { Schemes.Add(scheme); }
public override void NavigateToSource() { Scheme = Schemes[index]; MainWindow.Current.SelectMenu(MainWindow.Menus.Schemes, this); index = (index + 1) % Schemes.Count; }
public bool IsError(Scheme scheme) { return(scheme.CompiledScheme.GetFunctionByName(actionName) == null); }
public SchemeNameCollisionEED(Scheme scheme) { Message = $"More than one scheme exists with the name '{scheme.Name}'"; ErrorType = ErrorTypes.Error; Schemes.Add(scheme); }