Exemple #1
0
        protected void iterateChildren(Location location, Action<Location> func)
        {
            func(location);

            foreach (Location child in location.Children)
            {
                iterateChildren(child, func);
            }
        }
 void root_NodePropertyChanged(object sender, Location e)
 {
     SelectedLocation = e.FullName;
     
 }
 public void addLocation(Location location)
 {
     locationQueue.Add(location);
 }
Exemple #4
0
 protected override void nodePropertyChanged(Location location)
 {
     if (NodePropertyChanged != null)
     {
         NodePropertyChanged(this, location);
     }
 }
Exemple #5
0
 protected virtual void nodePropertyChanged(Location location)
 {
     (Parent as Location).nodePropertyChanged(location);                        
 }