コード例 #1
0
 /// <summary> Constructor for a new Template_Page object </summary>
 public Template_Page()
 {
     // Set some defaults
     currentPageTitle = String.Empty;
     allPageTitles    = new Dictionary <Template_Language, string>();
     panels           = new Template_Panel_Collection();
     height           = 50;
     name             = String.Empty;
 }
コード例 #2
0
        /// <summary> Constructor for a new Template_Page object </summary>
        /// <param name="Title"> Default title for this page </param>
        public Template_Page(string Title)
        {
            // Set some defaults
            currentPageTitle = Title;
            panels           = new Template_Panel_Collection();
            height           = 50;
            name             = String.Empty;

            allPageTitles = new Dictionary <Template_Language, string> {
                { Template_Language.English, Title }
            };
        }
コード例 #3
0
 /// <summary> Constructore creates a new Template_Panel_Collection_Enumerator to iterate through
 /// the <see cref="Template_Panel_Collection"/>. </summary>
 /// <param name="panelCollection"> <see cref="Template_Panel_Collection"/> to iterate through </param>
 public Template_Panel_Collection_Enumerator(Template_Panel_Collection panelCollection)
 {
     panels = panelCollection;
 }