Exemple #1
0
 public OlaMundoCommand(ISubject subject)
 {
     this._subject = (OlaMundoSubject)subject;
 }
Exemple #2
0
        public void update(ISubject subject)
        {
            OlaMundoSubject sub = (OlaMundoSubject)subject;

            Console.WriteLine(sub.getStr());
        }