Ejemplo n.º 1
0
 public override bool CheckCompatibility(HintsCollection hints)
 {
     if ((from x in hints.OfType <LockHint>()
          select x).Any())
     {
         return(false);
     }
     else
     {
         return(true);
     }
 }
Ejemplo n.º 2
0
 public override bool CheckCompatibility(HintsCollection hints)
 {
     return(!(from x in hints.OfType <LockHint>()
              select x).Any());
 }