public DependencyEngineListener(DependencyEngine dependencyEngine, Action<string> onWalkComplete, bool indent = true, VisualisationOptions visualisationOptions = null)
 {
     this.dependencyEngine = dependencyEngine;
     this.onWalkComplete = onWalkComplete;
     this.indent = indent;
     this.visualisationOptions = visualisationOptions ?? new VisualisationOptions();
     dependencyEngine.AddInstrumentation(this);
 }
Пример #2
0
 public DependencyEngineListener(DependencyEngine dependencyEngine, Action <string> onWalkComplete, bool indent = true, VisualisationOptions visualisationOptions = null)
 {
     this.dependencyEngine     = dependencyEngine;
     this.onWalkComplete       = onWalkComplete;
     this.indent               = indent;
     this.visualisationOptions = visualisationOptions ?? new VisualisationOptions();
     dependencyEngine.AddInstrumentation(this);
 }
 public NotifyPropertyChangedTests()
 {
     engineInstrumentation = new TestInstrumentation();
     engine = new DependencyEngine();
     engine.AddInstrumentation(engineInstrumentation);
 }
 public NotifyPropertyChangedTests()
 {
     engineInstrumentation = new TestInstrumentation();
     engine = new DependencyEngine();
     engine.AddInstrumentation(engineInstrumentation);
 }