public void Merge(ContentBlockSettings otherSettings) { if (otherSettings == null) { return; } foreach (var kv in otherSettings) { AddOrUpdate(kv.Key, kv.Value); } }
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; }