public MainViewModel( IGraphFieldFactory fieldFactory, IVertexEventHolder eventHolder, ISaveLoadGraph saveLoad, ConcreteGraphAssembleClasses graphFactories, ConcreteAssembleAlgorithmClasses algorithms, Logs log) : base(fieldFactory, eventHolder, saveLoad, graphFactories, algorithms, log) { IsAppClosureRequested = false; }
protected MainModel(IGraphFieldFactory fieldFactory, IVertexEventHolder eventHolder, ISaveLoadGraph saveLoad, IAssembleClasses graphFactories, IAssembleClasses assembleClasses, ILog log) { this.eventHolder = eventHolder; this.saveLoad = saveLoad; this.fieldFactory = fieldFactory; this.graphFactories = graphFactories; this.assembleClasses = assembleClasses; this.log = log; this.graphFactories.LoadClasses(); Graph = new NullGraph(); }