Ejemplo n.º 1
0
 private void setCurrentRescorer(IDRescorer rescorer)
 {
     if (rescorer == null)
     {
         if (this.currentRescorer != null)
         {
             this.currentRescorer = null;
             this.clear();
         }
     }
     else if (!rescorer.Equals(this.currentRescorer))
     {
         this.currentRescorer = rescorer;
         this.clear();
     }
 }
Ejemplo n.º 2
0
 private void setCurrentRescorer(IDRescorer rescorer)
 {
     if (rescorer == null)
     {
         if (currentRescorer != null)
         {
             currentRescorer = null;
             clear();
         }
     }
     else
     {
         if (!rescorer.Equals(currentRescorer))
         {
             currentRescorer = rescorer;
             clear();
         }
     }
 }