Esempio n. 1
0
        public void Merge(ContentBlockSettings otherSettings)
        {
            if (otherSettings == null)
            {
                return;
            }

            foreach (var kv in otherSettings)
            {
                AddOrUpdate(kv.Key, kv.Value);
            }
        }
Esempio n. 2
0
 public ContentBlock()
 {
     BaseSettings = new ContentBlockSettings();
     TextSettings = new ContentBlockSettings();
     Lists        = new ContentBlockSettingList();
     Bvin         = string.Empty;
     StoreId      = 0;
     LastUpdated  = DateTime.UtcNow;
     ColumnId     = string.Empty;
     SortOrder    = 1;
     ControlName  = string.Empty;
 }