mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-20 00:16:36 +08:00
序列化继续改进
This commit is contained in:
@@ -10,13 +10,25 @@ namespace AIStudio.Wpf.DiagramDesigner.Models
|
||||
public class SerializableItem
|
||||
{
|
||||
[XmlIgnore]
|
||||
public Type Type
|
||||
public Type ModelType
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
public string TypeName
|
||||
public string ModelTypeName
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[XmlIgnore]
|
||||
public Type SerializableType
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
public string SerializableTypeName
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user