예제 #1
0
        static AggregationFacade()
        {
            baseAggregationData = new AggregationData();

            forumAggregationData = new ForumAggregationData();

            //加载要通知的聚合数据对象
            AggregationDataSubject.Attach(baseAggregationData);

            AggregationDataSubject.Attach(forumAggregationData);
        }
예제 #2
0
        private static void Timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
        {
            if (IsFileHadRewrite())
            {
                ReSetFileChangeTime();

                AggregationData.ReadAggregationConfig();

                NotifyClearDataBind();
            }
        }
예제 #3
0
        static AggregationFacade()
        {
            baseAggregationData = new AggregationData();

            forumAggregationData = new ForumAggregationData();

            //加载要通知的聚合数据对象
            AggregationDataSubject.Attach(baseAggregationData);

            AggregationDataSubject.Attach(forumAggregationData);
        }
예제 #4
0
        static AggregationFacade()
        {
            baseAggregationData = new AggregationData();
            forumAggregationData = new ForumAggregationData();
            spaceAggregationData = new SpaceAggregationData();
            albumAggregationData = new AlbumAggregationData();
            photoAggregationData = new PhotoAggregationData();
            goodsAggregationData = new GoodsAggregationData();

            //加载要通知的聚合数据对象
            AggregationDataSubject.Attach(baseAggregationData);
            AggregationDataSubject.Attach(forumAggregationData);
            AggregationDataSubject.Attach(spaceAggregationData);
            AggregationDataSubject.Attach(albumAggregationData);
            AggregationDataSubject.Attach(photoAggregationData);
        }
예제 #5
0
        static AggregationFacade()
        {
            baseAggregationData  = new AggregationData();
            forumAggregationData = new ForumAggregationData();
            spaceAggregationData = new SpaceAggregationData();
            albumAggregationData = new AlbumAggregationData();
            photoAggregationData = new PhotoAggregationData();
            goodsAggregationData = new GoodsAggregationData();

            //加载要通知的聚合数据对象
            AggregationDataSubject.Attach(baseAggregationData);
            AggregationDataSubject.Attach(forumAggregationData);
            AggregationDataSubject.Attach(spaceAggregationData);
            AggregationDataSubject.Attach(albumAggregationData);
            AggregationDataSubject.Attach(photoAggregationData);
        }
예제 #6
0
 public static void Detach(AggregationData __aggregationData)
 {
     __aggregationDataArrayList.Remove(__aggregationData);
 }
예제 #7
0
 /// <summary>
 /// 附加对象 (注:调用下面函数的操作在AggregationFacade类的静态构造函数)
 /// </summary>
 /// <param name="__aggregationData"></param>
 public static void Attach(AggregationData __aggregationData)
 {
     __aggregationDataArrayList.Add(__aggregationData);
 }
예제 #8
0
 public static void Detach(AggregationData __aggregationData)
 {
     __aggregationDataArrayList.Remove(__aggregationData);
 }
예제 #9
0
 /// <summary>
 /// 附加对象 (注:调用下面函数的操作在AggregationFacade类的静态构造函数)
 /// </summary>
 /// <param name="__aggregationData"></param>
 public static void Attach(AggregationData __aggregationData)
 {
     __aggregationDataArrayList.Add(__aggregationData);
 }