Beispiel #1
0
 public static EstateMedium GetEstateMedium()
 {
     if (s_estateMedium == null)
     {
         s_estateMedium = new EstateMedium();
     }
     return(s_estateMedium);
 }
Beispiel #2
0
 public Customer(string name)
 {
     this.Name = name;
     m_medium  = EstateMedium.GetEstateMedium();
 }