摘要:
class BridgePattern { public static void Main() { IReport reportMonthly = new MonthlyReport(); IReport reportYearly = new YearlyReport(); ReportChart reportChart = new ColumnReportChart(); reportChart.SetReport(reportMonthly); ... 阅读全文
摘要:
/// /// using this pattern, the concrete element such as Family or Team is supposed to be stable, /// and the count of the total elements should be stable as well. /// Concrete visitor such as CompeteNotice or FeeCharge, may be extendable. For instance, we /// can add a GroupPrinca... 阅读全文