public void EnsureIsMet(IRequirement requirement) { if (!requirement.IsMet()) { requirement.Meet(); } }
public IModelObject SatisfyRequirement(Guid requirementGuid) { IRequirement tgtRqmt = (IRequirement)m_requirements[requirementGuid]; if (!tgtRqmt.IsMet()) { return((IModelObject)tgtRqmt.Meet()); } else { return(null); } }