Exemple #1
0
        //TODO: ?
        public ForumSettings Clone()
        {
            ForumSettings settings = new ForumSettings();
            ForumSettingItemCollection tempItems = new ForumSettingItemCollection();

            foreach (ForumSettingItem item in Items)
            {
                tempItems.Add(item);
            }
            settings.Items = tempItems;

            return(settings);
        }
Exemple #2
0
 public ForumSettings()
 {
     Items = new ForumSettingItemCollection();
     Items.Add(new ForumSettingItem());
 }