Пример #1
0
 public static string WhyCantIRunThisTechnique(SenderTechniques.SenderTechniqueEnum technique)
 {
     if (senderTechniquesList[(int)technique].compatibilityRules.IsCompatible())
     {
         return("Your system can run this technique.");
     }
     else
     {
         return(senderTechniquesList[(int)technique].compatibilityRules.UserMessageToMakeItCompatible());
     }
 }
Пример #2
0
 public static bool CanIRunThisTechnique(SenderTechniques.SenderTechniqueEnum technique)
 {
     // Only hide the techniques for other platforms
     return(senderTechniquesList[(int)technique].compatibilityRules.IsCompatible());
 }