文章分类 -  设计模式

摘要:using System; namespace ConsoleApplication1{ class Program { static void Main(string[] args) { Account account = new Account("Learning Hard"); account 阅读全文
posted @ 2019-05-06 11:16 东东东 阅读(69) 评论(0) 推荐(0)
摘要:using System; namespace ConsoleApplication1{ class Program { static void Main(string[] args) { IApproval teamLeaderApproval = new TeamLeaderApproval() 阅读全文
posted @ 2019-05-05 11:05 东东东 阅读(70) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic; namespace ConsoleApplication1{ class Program { static void Main(string[] args) { IRedEnvelope redEnvelo 阅读全文
posted @ 2019-03-27 14:34 东东东 阅读(88) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic; namespace ConsoleApplication1{ class Program { static void Main(string[] args) { IRedEnvelope redEnvelo 阅读全文
posted @ 2019-03-27 13:59 东东东 阅读(66) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq; namespace ConsoleApplication1{ class Program { static void Main(string[] args) { IMed 阅读全文
posted @ 2019-03-22 09:33 东东东 阅读(63) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic; namespace ConsoleApplication1{ class Program { static void Main(string[] args) { IDataObject<int> datao 阅读全文
posted @ 2019-03-21 15:52 东东东 阅读(69) 评论(0) 推荐(0)
摘要:using System;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { IDataObject dataobject = new DataObject(); Iterator iter 阅读全文
posted @ 2019-03-21 15:18 东东东 阅读(46) 评论(0) 推荐(0)
摘要:using System;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { IA1Paper a1Paper = new A4ToA1Adapter(); a1Paper.Drawing( 阅读全文
posted @ 2019-03-20 09:27 东东东 阅读(65) 评论(0) 推荐(0)
摘要:using System;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { IA1Paper a1Paper = new A4ToA1Adapter(); a1Paper.Drawing( 阅读全文
posted @ 2019-03-20 09:23 东东东 阅读(46) 评论(0) 推荐(0)
摘要:using System;class Program{ static void Main(string[] args) { IPerson person = new BlackPerson("andre"); Decorator decorator = new Decorator2019(perso 阅读全文
posted @ 2019-03-04 16:29 东东东 阅读(66) 评论(0) 推荐(0)
摘要:using System;class Program{ static void Main(string[] args) { Person personA = new Person("andre", "20"); Person personB = new Person("jack", "21"); I 阅读全文
posted @ 2019-03-04 14:47 东东东 阅读(84) 评论(0) 推荐(0)