说我们有这个超简单的类hierchy: public class SomeMath
{
public int Add(int x, int y)
{
return x + y;
}
}
public class MoreMath : SomeMath
{
public int Subtract(int x, int y)
{
我正在创建一个代表在控件上绘制的表的对象层次结构。我的层次结构是这样的: Table has multiple pages
Page has multiple lines
Line has multiple cells
Cell has multiple glyph
我想有在桌子上的一个选项(参数)来过滤柱(细胞)显示。客户代码可以做这样的事情: myTable.ShowColumns(