DiagramComposition
StockSharp.Broker.Maui.Designer.Pages
Helper for DiagramPage: pulls the CompositionDiagramElement out of an IConfiguration's LastObject. Lives in its own non-MAUI file so the Broker.Maui.Designer.Tests project can compile-link it via <Compile Include="..." Link="..."/> the same way it links MauiCloudService.
Métodos
ExtractComposition(IPersistable) : CompositionDiagramElement
Returns the composition for diagram-mode configurations, or null if the LastObject is something else (strategy settings, raw code, etc.) — matches WPF Designer's BaseConfiguration shape where lastObject is CompositionDiagramElement is the diagram-mode branch.