App_Code.Controls.RecentPosts.PostSaved C# (CSharp) Method

PostSaved() private static method

Handles the Saved event of the Post control.
private static PostSaved ( object sender, BlogEngine.Core.SavedEventArgs e ) : void
sender object The source of the event.
e BlogEngine.Core.SavedEventArgs The instance containing the event data.
return void
        private static void PostSaved(object sender, SavedEventArgs e)
        {
            if (e.Action == SaveAction.Update)
            {
                return;
            }

            ClearCache(null, new EventArgs());
        }