|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace www.askbargains.com.ObserverDesignPartternLib
{
public class FamilyDoctor
{
private Dictionary<string, Kid> _kids = new Dictionary<string, Kid>();
public Dictionary<string, Kid> Paitients
{
get { return _kids; }
set { _kids = value; }
}
public void ReciveNotes(string paitientName)
{
Console.WriteLine("Family Doctor received {0}'s new daily status. updates on: {1} . Notes:{2}", Paitients[paitientName].Name, Paitients[paitientName].DailyStatus.UpdatedOn, Paitients[paitientName].DailyStatus.Description);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.