Example #1
0
 internal void DeleteElseIf(ElseIf existedElseIf)
 => Tree.AddCommandAndExecute(new DeleteElseIfCommand(this, existedElseIf));
Example #2
0
 internal void InsertElseIfBeforeElse(ElseIf newElseIf, Else existedElse)
 => Tree.AddCommandAndExecute(new InsertElseIfBeforeElseCommand(this, newElseIf, existedElse));
Example #3
0
 internal void AddElseIf(ElseIf newElseIf)
 => Tree.AddCommandAndExecute(new AddElseIfCommand(this, newElseIf));
Example #4
0
 internal void InsertElseIfAsNext(ElseIf newElseIf, ElseIf existedElseIf)
 => Tree.AddCommandAndExecute(new InsertElseIfAsNextCommand(this, newElseIf, existedElseIf));
Example #5
0
 public AddElseIfCommand(If @if, ElseIf elseIf)
 {
     If          = @if;
     AddedElseIf = elseIf;
 }