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