mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-10 19:50:52 +08:00
31 lines
746 B
C#
31 lines
746 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace AIStudio.Wpf.DiagramDesigner
|
|
{
|
|
[Serializable]
|
|
[XmlInclude(typeof(BlockDesignerItem))]
|
|
public class BlockDesignerItem : DesignerItemBase
|
|
{
|
|
public BlockDesignerItem()
|
|
{
|
|
}
|
|
|
|
public BlockDesignerItem(BlockDesignerItemViewModel viewmodel) : base(viewmodel)
|
|
{
|
|
Containers = new List<BlockItemsContainerInfoItem>(viewmodel.Containers.Select(p => new BlockItemsContainerInfoItem(p)));
|
|
}
|
|
|
|
|
|
[XmlArray]
|
|
public List<BlockItemsContainerInfoItem> Containers
|
|
{
|
|
get; set;
|
|
}
|
|
}
|
|
}
|