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