Exemplo n.º 1
0
 public void EnsureIsMet(IRequirement requirement)
 {
     if (!requirement.IsMet())
     {
         requirement.Meet();
     }
 }
Exemplo n.º 2
0
        public IModelObject SatisfyRequirement(Guid requirementGuid)
        {
            IRequirement tgtRqmt = (IRequirement)m_requirements[requirementGuid];

            if (!tgtRqmt.IsMet())
            {
                return((IModelObject)tgtRqmt.Meet());
            }
            else
            {
                return(null);
            }
        }