/// <summary> /// Gets from paths - TRUE if loaded all /// </summary> /// <param name="resolver">The resolver.</param> /// <param name="allowUnclosed">For special cases where we want to affect an area before it is <c>closed</c></param> /// <returns> /// TRUE if all areas are loaded - and no <c>path</c> is waiting to be loaded /// </returns> public Boolean resolveAreaPaths(selectRangeAreaDictionary resolver, Boolean allowUnclosed = false) { Boolean output = false; selectRangeAreaNamed area = null; List <String> waiting = new List <string>(); do { String pt = areaPaths.Pop(); area = resolver[pt]; if (area == null) { waiting.Add(pt); } else { if (area.isClosed || allowUnclosed) { areas.Add(area); } else { waiting.Add(pt); } } } while (areaPaths.Any()); if (!waiting.Any()) { return(true); } areaPaths.AddRange <String>(waiting); return(false); }
public areaStyleInstructionStack(selectRangeAreaDictionary __pathResolver = null) { }