App_Code.Controls.PageList.PageList C# (CSharp) Method

PageList() static private method

Initializes static members of the PageList class.
static private PageList ( ) : System
return System
        static PageList()
        {
            BlogEngine.Core.Page.Saved += (sender, args) =>
            {
                lock (syncRoot) {
                    // only refresh current blog
                    blogsHtml.Remove(Blog.CurrentInstance.Id);
                }
            };
        }