Exemple #1
0
 public Graph(View.Scene scene, AbstractOrderingStrategy strategy, bool sort)
 {
     _scene      = scene;
     _strategy   = strategy;
     _sort       = sort;
     _components = new List <AbstractDrawable>();
 }
Exemple #2
0
 public void Dispose()
 {
     lock (_components) {
         foreach (AbstractDrawable c in _components)
         {
             if ((c != null))
             {
                 c.Dispose();
             }
         }
         _components.Clear();
     }
     _scene = null;
 }
Exemple #3
0
 public Graph(View.Scene scene, bool sort) : this(scene, new DefaultOrderingStrategy(), sort)
 {
 }
Exemple #4
0
 public Graph(View.Scene scene, AbstractOrderingStrategy strategy) : this(scene, strategy, true)
 {
 }
Exemple #5
0
 public Graph(View.Scene scene) : this(scene, new DefaultOrderingStrategy(), true)
 {
 }