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