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