コード例 #1
0
        public override void ObserveActions()
        {
            Admin.SettingController sc = new wojilu.Web.Controller.Content.Admin.SettingController();
            observe(sc.Save);

            //---------------------------------------------------------

            Admin.PostController post = new wojilu.Web.Controller.Content.Admin.PostController();
            observe(post.Delete);
            observe(post.DeleteTrue);
            observe(post.SaveAdmin);
            observe(post.Restore);

            //---------------------------------------------------------

            Admin.Section.ListController list = new wojilu.Web.Controller.Content.Admin.Section.ListController();
            //observe( list.Create );
            //observe( list.Update );
            observe(list.Delete);

            Admin.Section.TalkController talk = new wojilu.Web.Controller.Content.Admin.Section.TalkController();
            observe(talk.Create);
            observe(talk.Update);
            observe(talk.Delete);

            Admin.Section.TextController txt = new wojilu.Web.Controller.Content.Admin.Section.TextController();
            observe(txt.Create);
            observe(txt.Update);
            observe(txt.Delete);

            Admin.Section.VideoController video = new wojilu.Web.Controller.Content.Admin.Section.VideoController();
            observe(video.Create);
            observe(video.Update);
            observe(video.Delete);

            Admin.Section.VideoShowController vshow = new wojilu.Web.Controller.Content.Admin.Section.VideoShowController();
            observe(vshow.Create);
            observe(vshow.Update);
            observe(vshow.Delete);

            Admin.Section.ImgController img = new wojilu.Web.Controller.Content.Admin.Section.ImgController();
            observe(img.CreateListInfo);
            observe(img.CreateImgList);
            observe(img.SetLogo);
            observe(img.UpdateListInfo);
            observe(img.Delete);
            observe(img.DeleteImg);

            Admin.Section.PollController poll = new wojilu.Web.Controller.Content.Admin.Section.PollController();
            observe(poll.Create);
            observe(poll.Delete);

            AdController ad = new AdController();

            observe(ad.Create);
            observe(ad.Update);
            observe(ad.Delete);
            observe(ad.Start);
            observe(ad.Stop);
        }
コード例 #2
0
        public override void ObserveActions() {

            Admin.Common.PostController post = new wojilu.Web.Controller.Content.Admin.Common.PostController();

            observe( post.Restore );
            observe( post.Update );
            observe( post.UpdateTitleStyle );

            Admin.Section.TalkController talk = new wojilu.Web.Controller.Content.Admin.Section.TalkController();
            observe( talk.Update );

            Admin.Section.TextController txt = new wojilu.Web.Controller.Content.Admin.Section.TextController();
            observe( txt.Update );

            Admin.Section.VideoController video = new wojilu.Web.Controller.Content.Admin.Section.VideoController();
            observe( video.Update );

            Admin.Section.ImgController img = new wojilu.Web.Controller.Content.Admin.Section.ImgController();
            observe( img.CreateImgList );
            observe( img.UpdateListInfo );
            observe( img.SetLogo );
            observe( img.DeleteImg );

            Admin.Common.PollController poll = new wojilu.Web.Controller.Content.Admin.Common.PollController();
            observe( poll.Update );
        }
コード例 #3
0
ファイル: PostUpdateObserver.cs プロジェクト: zhdwwf/wojilu
        public override void ObserveActions()
        {
            Admin.Common.PostController post = new wojilu.Web.Controller.Content.Admin.Common.PostController();

            observe(post.Restore);
            observe(post.Update);
            observe(post.UpdateTitleStyle);

            Admin.Section.TalkController talk = new wojilu.Web.Controller.Content.Admin.Section.TalkController();
            observe(talk.Update);

            Admin.Section.TextController txt = new wojilu.Web.Controller.Content.Admin.Section.TextController();
            observe(txt.Update);

            Admin.Section.VideoController video = new wojilu.Web.Controller.Content.Admin.Section.VideoController();
            observe(video.Update);

            Admin.Section.ImgController img = new wojilu.Web.Controller.Content.Admin.Section.ImgController();
            observe(img.CreateImgList);
            observe(img.UpdateListInfo);
            observe(img.SetLogo);
            observe(img.DeleteImg);

            Admin.Common.PollController poll = new wojilu.Web.Controller.Content.Admin.Common.PollController();
            observe(poll.Update);
        }
コード例 #4
0
        public override void ObserveActions()
        {
            Admin.SettingController sc = new wojilu.Web.Controller.Content.Admin.SettingController();
            observe( sc.Save );

            //---------------------------------------------------------

            Admin.PostController post = new wojilu.Web.Controller.Content.Admin.PostController();
            observe( post.Delete );
            observe( post.DeleteTrue );
            observe( post.SaveAdmin );
            observe( post.Restore );

            //---------------------------------------------------------

            Admin.Section.ListController list = new wojilu.Web.Controller.Content.Admin.Section.ListController();
            //observe( list.Create );
            //observe( list.Update );
            observe( list.Delete );

            Admin.Section.TalkController talk = new wojilu.Web.Controller.Content.Admin.Section.TalkController();
            observe( talk.Create );
            observe( talk.Update );
            observe( talk.Delete );

            Admin.Section.TextController txt = new wojilu.Web.Controller.Content.Admin.Section.TextController();
            observe( txt.Create );
            observe( txt.Update );
            observe( txt.Delete );

            Admin.Section.VideoController video = new wojilu.Web.Controller.Content.Admin.Section.VideoController();
            observe( video.Create );
            observe( video.Update );
            observe( video.Delete );

            Admin.Section.VideoShowController vshow = new wojilu.Web.Controller.Content.Admin.Section.VideoShowController();
            observe( vshow.Create );
            observe( vshow.Update );
            observe( vshow.Delete );

            Admin.Section.ImgController img = new wojilu.Web.Controller.Content.Admin.Section.ImgController();
            observe( img.CreateListInfo );
            observe( img.CreateImgList );
            observe( img.SetLogo );
            observe( img.UpdateListInfo );
            observe( img.Delete );
            observe( img.DeleteImg );

            Admin.Section.PollController poll = new wojilu.Web.Controller.Content.Admin.Section.PollController();
            observe( poll.Create );
            observe( poll.Delete );

            AdController ad = new AdController();
            observe( ad.Create );
            observe( ad.Update );
            observe( ad.Delete );
            observe( ad.Start );
            observe( ad.Stop );
        }
コード例 #5
0
        public override void ObserveActions()
        {
            Admin.Common.PostController post = new wojilu.Web.Controller.Content.Admin.Common.PostController();
            observe(post.Create);

            Admin.Section.TalkController talk = new wojilu.Web.Controller.Content.Admin.Section.TalkController();
            observe(talk.Create);

            Admin.Section.TextController txt = new wojilu.Web.Controller.Content.Admin.Section.TextController();
            observe(txt.Create);

            Admin.Section.VideoController video = new wojilu.Web.Controller.Content.Admin.Section.VideoController();
            observe(video.Create);

            Admin.Section.ImgController img = new wojilu.Web.Controller.Content.Admin.Section.ImgController();
            observe(img.CreateListInfo);

            Admin.Common.PollController poll = new wojilu.Web.Controller.Content.Admin.Common.PollController();
            observe(poll.Create);
        }
コード例 #6
0
        public override void ObserveActions() {

            Admin.Common.PostController post = new wojilu.Web.Controller.Content.Admin.Common.PostController();
            observe( post.Delete );
            observe( post.DeleteSys );

            Admin.Section.TalkController talk = new wojilu.Web.Controller.Content.Admin.Section.TalkController();
            observe( talk.Delete );

            Admin.Section.TextController txt = new wojilu.Web.Controller.Content.Admin.Section.TextController();
            observe( txt.Delete );

            Admin.Section.VideoController video = new wojilu.Web.Controller.Content.Admin.Section.VideoController();
            observe( video.Delete );

            Admin.Section.ImgController img = new wojilu.Web.Controller.Content.Admin.Section.ImgController();
            observe( img.Delete );

            Admin.Common.PollController poll = new wojilu.Web.Controller.Content.Admin.Common.PollController();
            observe( poll.Delete );
        }
コード例 #7
0
        public override void ObserveActions() {

            Admin.Common.PostController post = new wojilu.Web.Controller.Content.Admin.Common.PostController();
            observe( post.Create );

            Admin.Section.TalkController talk = new wojilu.Web.Controller.Content.Admin.Section.TalkController();
            observe( talk.Create );

            Admin.Section.TextController txt = new wojilu.Web.Controller.Content.Admin.Section.TextController();
            observe( txt.Create );

            Admin.Section.VideoController video = new wojilu.Web.Controller.Content.Admin.Section.VideoController();
            observe( video.Create );

            Admin.Section.ImgController img = new wojilu.Web.Controller.Content.Admin.Section.ImgController();
            observe( img.CreateListInfo );

            Admin.Common.PollController poll = new wojilu.Web.Controller.Content.Admin.Common.PollController();
            observe( poll.Create );

            Submit.AdminController submit = new Submit.AdminController();
            observe( submit.SavePass );
        }
コード例 #8
0
        public override void ObserveActions()
        {
            Admin.ContentController ac = new wojilu.Web.Controller.Content.Admin.ContentController();
            observe( ac.AddRow );
            observe( ac.DeleteRow );
            observe( ac.SaveLayout );
            observe( ac.SaveResize );
            observe( ac.SaveStyle );

            Admin.ContentSectionController cs = new wojilu.Web.Controller.Content.Admin.ContentSectionController();
            observe( cs.Create );
            observe( cs.CreateAuto );
            observe( cs.CreateFeed );
            observe( cs.SaveRowUI );
            observe( cs.SaveUI );
            observe( cs.SaveSectionUI );
            observe( cs.Delete );
            observe( cs.SaveSectionTitleUI );
            observe( cs.SaveSectionContentUI );
            observe( cs.SaveCombine );
            observe( cs.RemoveSection );
            observe( cs.SaveEffect );

            Admin.SectionSettingController ss = new wojilu.Web.Controller.Content.Admin.SectionSettingController();
            observe( ss.Update );
            observe( ss.SaveCount );
            observe( ss.UpdateBinder );

            Admin.SettingController sc = new wojilu.Web.Controller.Content.Admin.SettingController();
            observe( sc.Save );

            Admin.SkinController sk = new wojilu.Web.Controller.Content.Admin.SkinController();
            observe( sk.Apply );

            Admin.TemplateController tpl = new wojilu.Web.Controller.Content.Admin.TemplateController();
            observe( tpl.UpdateTemplate );

            Admin.TemplateCustomController tpc = new wojilu.Web.Controller.Content.Admin.TemplateCustomController();
            observe( tpc.Save );
            observe( tpc.Reset );

            //---------------------------------------------------------

            Admin.PostController post = new wojilu.Web.Controller.Content.Admin.PostController();
            observe( post.Create );
            observe( post.Delete );
            observe( post.DeleteTrue );
            observe( post.SaveAdmin );
            observe( post.Restore );
            observe( post.Update );
            observe( post.UpdateTitleStyle );

            //---------------------------------------------------------

            Admin.Section.ListController list = new wojilu.Web.Controller.Content.Admin.Section.ListController();
            //observe( list.Create );
            //observe( list.Update );
            observe( list.Delete );

            Admin.Section.TalkController talk = new wojilu.Web.Controller.Content.Admin.Section.TalkController();
            observe( talk.Create );
            observe( talk.Update );
            observe( talk.Delete );

            Admin.Section.TextController txt = new wojilu.Web.Controller.Content.Admin.Section.TextController();
            observe( txt.Create );
            observe( txt.Update );
            observe( txt.Delete );

            Admin.Section.VideoController video = new wojilu.Web.Controller.Content.Admin.Section.VideoController();
            observe( video.Create );
            observe( video.Update );
            observe( video.Delete );

            Admin.Section.VideoShowController vshow = new wojilu.Web.Controller.Content.Admin.Section.VideoShowController();
            observe( vshow.Create );
            observe( vshow.Update );
            observe( vshow.Delete );

            Admin.Section.ImgController img = new wojilu.Web.Controller.Content.Admin.Section.ImgController();
            observe( img.CreateListInfo );
            observe( img.CreateImgList );
            observe( img.SetLogo );
            observe( img.UpdateListInfo );
            observe( img.Delete );
            observe( img.DeleteImg );

            Admin.Section.PollController poll = new wojilu.Web.Controller.Content.Admin.Section.PollController();
            observe( poll.Create );
            observe( poll.Delete );
        }
コード例 #9
0
        public override void ObserveActions()
        {
            Admin.ContentController ac = new wojilu.Web.Controller.Content.Admin.ContentController();
            observe(ac.SaveLayout);
            observe(ac.SaveResize);
            observe(ac.SaveStyle);

            Admin.ContentSectionController cs = new wojilu.Web.Controller.Content.Admin.ContentSectionController();
            observe(cs.Create);
            observe(cs.CreateAuto);
            observe(cs.CreateFeed);
            observe(cs.SaveRowUI);
            observe(cs.SaveUI);
            observe(cs.SaveSectionUI);
            observe(cs.Delete);
            observe(cs.SaveSectionTitleUI);
            observe(cs.SaveSectionContentUI);
            observe(cs.SaveCombine);
            observe(cs.RemoveSection);
            observe(cs.SaveEffect);

            Admin.SectionSettingController ss = new wojilu.Web.Controller.Content.Admin.SectionSettingController();
            observe(ss.Update);
            observe(ss.SaveCount);
            observe(ss.UpdateBinder);

            Admin.SettingController sc = new wojilu.Web.Controller.Content.Admin.SettingController();
            observe(sc.Save);

            Admin.SkinController sk = new wojilu.Web.Controller.Content.Admin.SkinController();
            observe(sk.Apply);

            Admin.TemplateController tpl = new wojilu.Web.Controller.Content.Admin.TemplateController();
            observe(tpl.UpdateTemplate);

            Admin.TemplateCustomController tpc = new wojilu.Web.Controller.Content.Admin.TemplateCustomController();
            observe(tpc.Save);
            observe(tpc.Reset);

            Admin.RowController row = new wojilu.Web.Controller.Content.Admin.RowController();
            observe(row.AddRow);
            observe(row.Move);
            observe(row.DeleteRow);


            //---------------------------------------------------------

            Admin.PostController post = new wojilu.Web.Controller.Content.Admin.PostController();
            observe(post.Create);
            observe(post.Delete);
            observe(post.DeleteTrue);
            observe(post.SaveAdmin);
            observe(post.Restore);
            observe(post.Update);
            observe(post.UpdateTitleStyle);

            //---------------------------------------------------------

            Admin.Section.ListController list = new wojilu.Web.Controller.Content.Admin.Section.ListController();
            //observe( list.Create );
            //observe( list.Update );
            observe(list.Delete);

            Admin.Section.TalkController talk = new wojilu.Web.Controller.Content.Admin.Section.TalkController();
            observe(talk.Create);
            observe(talk.Update);
            observe(talk.Delete);

            Admin.Section.TextController txt = new wojilu.Web.Controller.Content.Admin.Section.TextController();
            observe(txt.Create);
            observe(txt.Update);
            observe(txt.Delete);

            Admin.Section.VideoController video = new wojilu.Web.Controller.Content.Admin.Section.VideoController();
            observe(video.Create);
            observe(video.Update);
            observe(video.Delete);

            Admin.Section.VideoShowController vshow = new wojilu.Web.Controller.Content.Admin.Section.VideoShowController();
            observe(vshow.Create);
            observe(vshow.Update);
            observe(vshow.Delete);

            Admin.Section.ImgController img = new wojilu.Web.Controller.Content.Admin.Section.ImgController();
            observe(img.CreateListInfo);
            observe(img.CreateImgList);
            observe(img.SetLogo);
            observe(img.UpdateListInfo);
            observe(img.Delete);
            observe(img.DeleteImg);

            Admin.Section.PollController poll = new wojilu.Web.Controller.Content.Admin.Section.PollController();
            observe(poll.Create);
            observe(poll.Delete);
        }