public override void AddRange(params T[] items) { foreach (var item in items) { item.ExtendData = JsonConvert.SerializeObject(item); } WidgetBasePartService.AddRange(items.Select(m => m.ToWidgetBasePart()).ToArray()); }