namespace StockSharp.Diagram; using StockSharp.Alerts; /// /// Loading context. /// /// /// Initializes a new instance of the . /// /// public class CompositionLoadingContext(bool allowCode) { /// /// Allow elements. /// public bool AllowCode { get; } = allowCode; /// /// Allow alerts for the diagram. /// public ISet AllowAlerts { get; } = new HashSet(); }