This commit is contained in:
kwai
2023-07-20 19:12:43 +08:00
parent a862f94c50
commit 661b235f57
2 changed files with 29 additions and 0 deletions

View File

@@ -317,5 +317,17 @@ namespace AIStudio.Wpf.DiagramDesigner
return containBound;
}
public object GetResult()
{
if (OnlyOneChild)
{
return Children.FirstOrDefault()?.GetResult();
}
else
{
return null;
}
}
}
}