1
2
3
4
5
6
7
8
9
10
11
12
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  MethodOverride OnFinalize (LibOpt_Task task) 
 |  { 
 |    TextBody: 
 |    [* 
 |      if( this.CountOnFinalize() and ( not this.CheckAborted() or not task.IsAborted() ) ) 
 |      { 
 |        this.NrOfTimesCalled( this.NrOfTimesCalled() + 1 ); 
 |      } 
 |    *] 
 |  } 
 |  
  |