コード例 #1
0
 protected void LockABase(ConditionDetail.Condition condition, string sbasename)
 {
     if (conditions.Any(c => c.condition == condition))
     {
         LaunchSiteManager.setSiteLocked(sbasename);
     }
 }
コード例 #2
0
 protected void LockABase(ConditionDetail.Condition condition, string parameterID, string sbasename)
 {
     foreach (ConditionDetail cd in conditions.Where(cd => !cd.disabled && cd.condition == condition && cd.parameter == parameterID))
     {
         LaunchSiteManager.setSiteLocked(sbasename);
         cd.disabled = true;
     }
 }