コード例 #1
0
 public override void Init(GraffitiApplication ga)
 {
     ga.BeginRequest    += new EventHandler(ga_BeginRequest);
     ga.UrlRoutingAdd   += new UrlRoutingEventHandler(ga_UrlRoutingAdd);
     ga.AfterNewUser    += new UserEventHandler(ga_AfterNewUser);
     ga.AfterUserUpdate += new UserEventHandler(ga_AfterNewUser);
 }
コード例 #2
0
        public override void Init(GraffitiApplication ga)
        {
            Debug.WriteLine("Init Event Plugin");

            ga.BeforeValidate += Post_Validate;
            ga.BeforeInsert   += Post_SetDefaultValues;
            ga.BeforeUpdate   += Post_SetDefaultValues;
        }
コード例 #3
0
 public override void Init(GraffitiApplication ga)
 {
     ga.AfterInsert      += ga_AfterInsert;
     ga.AfterUpdate      += ga_AfterUpdate;
     ga.BeginRequest     += ga_BeginRequest;
     ga.RssNamespace     += ga_RssNamespace;
     ga.RssItem          += ga_RssItem;
     ga.RenderHtmlHeader += ga_RenderHtmlHeader;
     ga.RenderPostBody   += ga_RenderPostBody;
     ga.UrlRoutingAdd    += ga_UrlRoutingAdd;
 }
コード例 #4
0
        public override void Init(GraffitiApplication ga)
        {
            Debug.WriteLine("Init Talk Plugin");

            ga.BeforeValidate += Post_Validate;
        }
コード例 #5
0
 public override void Init(GraffitiApplication ga)
 {
 }
コード例 #6
0
 public override void Init(GraffitiApplication ga)
 {
     // TODO: Do this on application start (when there is an application start event hook)
     ga.LoadGraffitiContext += new GraffitiContextEventHandler(ga_LoadGraffitiContext);
 }
コード例 #7
0
 public override void Init(GraffitiApplication ga)
 {
     ga.RssItem += new RssPostEventHandler(ga_RssItem);
 }
コード例 #8
0
 public override void Init(GraffitiApplication ga)
 {
     ga.AfterInsert  += new DataObjectEventHandler(ga_AfterInsert);
     ga.BeforeUpdate += new DataObjectEventHandler(ga_BeforeUpdate);
     ga.AfterUpdate  += new DataObjectEventHandler(ga_AfterUpdate);
 }