Exemplo n.º 1
0
 public static double Size(this Thickness thickness, Orientation orientation)
 {
     return(orientation.IsHorizontal() ? thickness.Width() : thickness.Height());
 }