コード例 #1
0
ファイル: LivePage.cs プロジェクト: heimanhon/researchwork
    public static LivePage GetCached(string topic_, bool createIfNotThere_)
    {
      if (Cache.ContainsKey(topic_))
        return Cache[topic_];

      if (!createIfNotThere_)
        return null;

      var ret = new LivePage(topic_);
      Cache[topic_] = ret;
      OnLivePageCreated(new LivePageCreatedEventArgs(ret));
      return ret;
    }
コード例 #2
0
 public LivePageCreatedEventArgs(LivePage page_) { Page = page_; }