Ejemplo n.º 1
0
        public void Using()
        {
            var john       = new JobSeeker("John");
            var jane       = new JobSeeker("Jane");
            var jobPosting = new JobPosting();

            jobPosting.Attach(john);
            jobPosting.Attach(jane);
            jobPosting.AddJob(new JobPost("Developer"));
            jobPosting.AddJob(new JobPost("Tester"));
        }
Ejemplo n.º 2
0
 public void Attach(JobSeeker jobSeeker)
 {
     jobSeekers.Add(jobSeeker);
 }