Esempio n. 1
0
 public static int BottomDepth(this IArea area)
 {
     return(area.DepthWhile(child => child.Bottom == area.Bottom));
 }
Esempio n. 2
0
 public static int RightDepth(this IArea area)
 {
     return(area.DepthWhile(child => child.Right == area.Right));
 }
Esempio n. 3
0
 public static int TopDepth(this IArea area)
 {
     return(area.DepthWhile(child => child.Top == area.Top));
 }
Esempio n. 4
0
 public static int LeftDepth(this IArea area)
 {
     return(area.DepthWhile(child => child.Left == area.Left));
 }