Пример #1
0
 public override void update(Share subject)
 {
     Console.WriteLine("GraphView for {0}", this.type);
     Console.WriteLine("Stock: {0}, Price: {1}\n", subject.CodeName, subject.Price);
 }
Пример #2
0
 public override void update(Share subject)
 {
     Console.WriteLine("DetailView for {0}", this.type);
     Console.WriteLine("{0}: Stock: {1}, Price: {2}\n", DateTime.UtcNow, subject.CodeName, subject.Price);
 }
Пример #3
0
 public abstract void update(Share subject);