コード例 #1
0
 private void ValidarPlanoDeSaude(PlanoDeSaudeBase planoDeSaude)
 {
     if (planoDeSaude == null)
     {
         throw new ArgumentNullException("É necessário informar o plano de saúde!");
     }
 }
        private void ValidarPlanoDeSaude(PlanoDeSaudeBase planoDeSaude)
        {
            if (planoDeSaude == null) throw new ArgumentNullException("É necessário informar o plano de saúde!");

        }
 public void DefinirPlanoDeSaude(PlanoDeSaudeBase planoDeSaude)
 {
     PlanoDeSaude = planoDeSaude;
 }
コード例 #4
0
 public void DefinirPlanoDeSaude(PlanoDeSaudeBase planoDeSaude)
 {
     PlanoDeSaude = planoDeSaude;
 }