Esempio n. 1
0
 public void Upgrade(int version)
 {
     if (version == 0)
     {
         matchBy = ((width == -1 && height == -1) || (width == 0 && height == 0)) ? MatchByType.Wildcard : MatchByType.Resolution;
     }
 }
 public void Upgrade(int version)
 {
     if (version == 0)
     {
         this.matchBy = (((this.width != -1) || (this.height != -1)) && ((this.width != 0) || (this.height != 0))) ? MatchByType.Resolution : MatchByType.Wildcard;
     }
 }
Esempio n. 3
0
 public void Upgrade(int version)
 {
     if (version == 0) {
         matchBy = ((width == -1 && height == -1) || (width == 0 && height == 0)) ? MatchByType.Wildcard : MatchByType.Resolution;
     }
 }