InMemoryCompositionModelBehavior
StockSharp.Diagram
In-memory implementation of ICompositionModelBehavior: keeps nodes and links in observable collections and raises BehaviorChanged notifications, without any visual or built-in undo backing of its own (an IUndoManager can be attached externally). Suitable for headless hosts and for UI front-ends that render the model directly (e.g. the Avalonia diagram editor).
Implementa: ICompositionModelBehavior<InMemoryCompositionModelNode, InMemoryCompositionModelLink>, ICloneable
Propiedades
IsUndoManagerSuspended : bool
Undo manager is suspended if this property is set to true.
Links : IEnumerable<InMemoryCompositionModelLink>
Links.
Modifiable : bool
Is it possible to edit a composite element diagram.
Nodes : IEnumerable<InMemoryCompositionModelNode>
Nodes.
Parent : ICompositionModel
Parent.
UndoManager : IUndoManager
IUndoManager
Métodos
AddLink(InMemoryCompositionModelNode, string, InMemoryCompositionModelNode, string) : InMemoryCompositionModelLink
CommitTransaction(string) : bool
Commit transaction.
- name
- Operation name.
Devuelve: Operation result.
Eventos
BehaviorChanged : Action<ValueTuple<ModelChange, object, string, object, object, object, object>>
Changed event.