|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace www.askbargains.com.ObserverDesignPartternLib
{
public class Parent
{
private Dictionary<string, Kid> _kids = new Dictionary<string, Kid>();
public Dictionary<string, Kid> Kids
{
get { return _kids; }
set { _kids = value; }
}
public void DailyStatusUpdate(string key)
{
Console.WriteLine("Parents received {0}'s daily status. updated on {1}, Notes: {2} ", Kids[key].Name, Kids[key].DailyStatus.UpdatedOn, Kids[key].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.