Ejemplo n.º 1
0
 /// <summary>
 /// Gets the <see cref="Umbraco.Framework.HiveId"/> with the specified level. Not that this is not 0-indexed. This indexer is intended
 /// to be passed a <see cref="Level"/> where 0 is typically the Content root
 /// </summary>
 /// <value></value>
 public HiveId this[int i, bool includeSystemIds]
 {
     get
     {
         return(includeSystemIds ? TruePath.ElementAtOrDefault(i + 1) : NaturalPath.ElementAtOrDefault(i));
     }
 }
Ejemplo n.º 2
0
 public override IEnumerator <HiveId> GetEnumerator()
 {
     return(NaturalPath.GetEnumerator());
 }