예제 #1
0
 private static bool DerivableHasMissingProperty(BackgroundImageClass derrivableClass, BackgroundImageClass imageClass, PropertyCompletion property)
 {
     if ((imageClass.PropertyCompletion & property) != property && (derrivableClass.PropertyCompletion & property) == property)
     {
         imageClass.PropertyCompletion = imageClass.PropertyCompletion | property;
         return true;
     }
     return false;
 }
예제 #2
0
 private static bool DerivableHasMissingProperty(BackgroundImageClass derrivableClass, BackgroundImageClass imageClass, PropertyCompletion property)
 {
     if ((imageClass.PropertyCompletion & property) != property && (derrivableClass.PropertyCompletion & property) == property)
     {
         imageClass.PropertyCompletion = imageClass.PropertyCompletion | property;
         return(true);
     }
     return(false);
 }