mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
序列化调整中
This commit is contained in:
@@ -30,7 +30,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
}
|
||||
|
||||
public FullyCreatedConnectorInfo(IDiagramViewModel root, DesignerItemViewModelBase dataItem, string json) : base(root, json)
|
||||
public FullyCreatedConnectorInfo(IDiagramViewModel root, DesignerItemViewModelBase dataItem, string serializableString, string serializableType) : base(root, serializableString, serializableType)
|
||||
{
|
||||
this.DataItem = dataItem;
|
||||
if (IsInnerPoint == true)
|
||||
@@ -62,12 +62,12 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
}
|
||||
|
||||
public override SelectableItemBase ToXmlObject()
|
||||
public override SelectableItemBase GetSerializableObject()
|
||||
{
|
||||
return new FullyCreatedConnectorInfoItem(this);
|
||||
}
|
||||
|
||||
public override Type ToXmlType()
|
||||
public override Type GetSerializableType()
|
||||
{
|
||||
return typeof(FullyCreatedConnectorInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user