Subject 通知者接口:

 

  public interface Subject
    {
        void Notify();
        string SubjectState
        {
            get;
            set;
        }
    }
View Code

相关文章: