├── .gitattributes ├── .gitignore ├── AdapterPattern ├── AdapterPattern.csproj ├── App.config ├── IChargingLine.cs ├── Program.cs └── Properties │ └── AssemblyInfo.cs ├── BridgePattern ├── App.config ├── BridgePattern.csproj ├── ClassDiagram1.cd ├── Manager.cs ├── ProductManger.cs ├── Program.cs ├── Project.cs ├── ProjectManager.cs ├── Properties │ └── AssemblyInfo.cs └── WebProject.cs ├── BuilderPattern ├── App.config ├── BuilderPattern.csproj ├── Director.cs ├── Program.cs └── Properties │ └── AssemblyInfo.cs ├── ChainofResponsibility ├── App.config ├── Bill.cs ├── BillHandler.cs ├── ChainofResponsibility.csproj ├── Program.cs └── Properties │ └── AssemblyInfo.cs ├── CommandPattern ├── App.config ├── CommandPattern.csproj ├── Invoker.cs ├── Program.cs └── Properties │ └── AssemblyInfo.cs ├── CompositePattern ├── App.config ├── CompositePattern.csproj ├── Organization.cs ├── Program.cs └── Properties │ └── AssemblyInfo.cs ├── DecoratorPattern ├── AbstractHouse.cs ├── App.config ├── DecoratorHouse.cs ├── DecoratorPattern.csproj ├── Program.cs └── Properties │ └── AssemblyInfo.cs ├── DesignPattern.sln ├── FacadePattern ├── ATM.cs ├── AccountSubsystem.cs ├── App.config ├── AtmFacade.cs ├── BankAccount.cs ├── BankSubsystem.cs ├── FacadePattern.csproj ├── IBankSubsystem.cs ├── Program.cs └── Properties │ └── AssemblyInfo.cs ├── FactoryPattern ├── AbstractBus.cs ├── AbstractCar.cs ├── AbstractFactory.cs ├── App.config ├── FactoryPattern.csproj ├── IFactoryMethod.cs ├── Program.cs ├── Properties │ └── AssemblyInfo.cs ├── ReflectFactory.cs └── SimpleFactory.cs ├── FlyweightPattern ├── App.config ├── Email.cs ├── EmailTemplateFactory.cs ├── FlyweightPattern.csproj ├── Program.cs └── Properties │ └── AssemblyInfo.cs ├── IteratorPattern ├── App.config ├── Iterator.cs ├── IteratorPattern.csproj ├── Program.cs └── Properties │ └── AssemblyInfo.cs ├── MediatorPattern ├── App.config ├── Mediator.cs ├── MediatorPattern.csproj ├── Program.cs └── Properties │ └── AssemblyInfo.cs ├── MementoPattern ├── App.config ├── Caretaker.cs ├── ContactMemento.cs ├── ContactPerson.cs ├── MementoPattern.csproj ├── Mobile.cs ├── Program.cs └── Properties │ └── AssemblyInfo.cs ├── ObserverPattern ├── App.config ├── DelegateImplement │ └── FishingRod.cs ├── FishType.cs ├── ObserverPattern.csproj ├── Program.cs ├── Properties │ └── AssemblyInfo.cs └── SimpleImplement │ └── FishingTool.cs ├── PrototypePattern ├── App.config ├── Email.cs ├── Program.cs ├── Properties │ └── AssemblyInfo.cs └── PrototypePattern.csproj ├── ProxyPattern ├── App.config ├── ISearchEngine.cs ├── Program.cs ├── Properties │ └── AssemblyInfo.cs └── ProxyPattern.csproj ├── README.md ├── SingletonPattern ├── App.config ├── GenericSingleton.cs ├── Program.cs ├── Properties │ └── AssemblyInfo.cs ├── Singleton1.cs ├── Singleton2.cs ├── Singleton3.cs ├── Singleton4.cs └── SingletonPattern.csproj ├── StatePattern ├── App.config ├── Car.cs ├── ICarState.cs ├── Program.cs ├── Properties │ └── AssemblyInfo.cs ├── RuningState.cs ├── SpeedDownState.cs ├── SpeedUpState.cs ├── StatePattern.csproj └── StopState.cs ├── StrategyPattern ├── App.config ├── ITravelStrategy.cs ├── Program.cs ├── Properties │ └── AssemblyInfo.cs └── StrategyPattern.csproj ├── TemplateMethodPattern ├── App.config ├── AssembleComputer.cs ├── Program.cs ├── Properties │ └── AssemblyInfo.cs └── TemplateMethodPattern.csproj └── VisitorPattern ├── App.config ├── Customer.cs ├── Distributor.cs ├── Order.cs ├── OrderCenter.cs ├── OrderLine.cs ├── Picker.cs ├── Product.cs ├── Program.cs ├── Properties └── AssemblyInfo.cs ├── ReturnOrder.cs ├── SaleOrder.cs ├── Visitor.cs └── VisitorPattern.csproj /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/.gitignore -------------------------------------------------------------------------------- /AdapterPattern/AdapterPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/AdapterPattern/AdapterPattern.csproj -------------------------------------------------------------------------------- /AdapterPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/AdapterPattern/App.config -------------------------------------------------------------------------------- /AdapterPattern/IChargingLine.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/AdapterPattern/IChargingLine.cs -------------------------------------------------------------------------------- /AdapterPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/AdapterPattern/Program.cs -------------------------------------------------------------------------------- /AdapterPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/AdapterPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /BridgePattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BridgePattern/App.config -------------------------------------------------------------------------------- /BridgePattern/BridgePattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BridgePattern/BridgePattern.csproj -------------------------------------------------------------------------------- /BridgePattern/ClassDiagram1.cd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BridgePattern/ClassDiagram1.cd -------------------------------------------------------------------------------- /BridgePattern/Manager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BridgePattern/Manager.cs -------------------------------------------------------------------------------- /BridgePattern/ProductManger.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BridgePattern/ProductManger.cs -------------------------------------------------------------------------------- /BridgePattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BridgePattern/Program.cs -------------------------------------------------------------------------------- /BridgePattern/Project.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BridgePattern/Project.cs -------------------------------------------------------------------------------- /BridgePattern/ProjectManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BridgePattern/ProjectManager.cs -------------------------------------------------------------------------------- /BridgePattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BridgePattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /BridgePattern/WebProject.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BridgePattern/WebProject.cs -------------------------------------------------------------------------------- /BuilderPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BuilderPattern/App.config -------------------------------------------------------------------------------- /BuilderPattern/BuilderPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BuilderPattern/BuilderPattern.csproj -------------------------------------------------------------------------------- /BuilderPattern/Director.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BuilderPattern/Director.cs -------------------------------------------------------------------------------- /BuilderPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BuilderPattern/Program.cs -------------------------------------------------------------------------------- /BuilderPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/BuilderPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /ChainofResponsibility/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ChainofResponsibility/App.config -------------------------------------------------------------------------------- /ChainofResponsibility/Bill.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ChainofResponsibility/Bill.cs -------------------------------------------------------------------------------- /ChainofResponsibility/BillHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ChainofResponsibility/BillHandler.cs -------------------------------------------------------------------------------- /ChainofResponsibility/ChainofResponsibility.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ChainofResponsibility/ChainofResponsibility.csproj -------------------------------------------------------------------------------- /ChainofResponsibility/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ChainofResponsibility/Program.cs -------------------------------------------------------------------------------- /ChainofResponsibility/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ChainofResponsibility/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /CommandPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/CommandPattern/App.config -------------------------------------------------------------------------------- /CommandPattern/CommandPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/CommandPattern/CommandPattern.csproj -------------------------------------------------------------------------------- /CommandPattern/Invoker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/CommandPattern/Invoker.cs -------------------------------------------------------------------------------- /CommandPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/CommandPattern/Program.cs -------------------------------------------------------------------------------- /CommandPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/CommandPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /CompositePattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/CompositePattern/App.config -------------------------------------------------------------------------------- /CompositePattern/CompositePattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/CompositePattern/CompositePattern.csproj -------------------------------------------------------------------------------- /CompositePattern/Organization.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/CompositePattern/Organization.cs -------------------------------------------------------------------------------- /CompositePattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/CompositePattern/Program.cs -------------------------------------------------------------------------------- /CompositePattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/CompositePattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /DecoratorPattern/AbstractHouse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/DecoratorPattern/AbstractHouse.cs -------------------------------------------------------------------------------- /DecoratorPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/DecoratorPattern/App.config -------------------------------------------------------------------------------- /DecoratorPattern/DecoratorHouse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/DecoratorPattern/DecoratorHouse.cs -------------------------------------------------------------------------------- /DecoratorPattern/DecoratorPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/DecoratorPattern/DecoratorPattern.csproj -------------------------------------------------------------------------------- /DecoratorPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/DecoratorPattern/Program.cs -------------------------------------------------------------------------------- /DecoratorPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/DecoratorPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /DesignPattern.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/DesignPattern.sln -------------------------------------------------------------------------------- /FacadePattern/ATM.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FacadePattern/ATM.cs -------------------------------------------------------------------------------- /FacadePattern/AccountSubsystem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FacadePattern/AccountSubsystem.cs -------------------------------------------------------------------------------- /FacadePattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FacadePattern/App.config -------------------------------------------------------------------------------- /FacadePattern/AtmFacade.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FacadePattern/AtmFacade.cs -------------------------------------------------------------------------------- /FacadePattern/BankAccount.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FacadePattern/BankAccount.cs -------------------------------------------------------------------------------- /FacadePattern/BankSubsystem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FacadePattern/BankSubsystem.cs -------------------------------------------------------------------------------- /FacadePattern/FacadePattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FacadePattern/FacadePattern.csproj -------------------------------------------------------------------------------- /FacadePattern/IBankSubsystem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FacadePattern/IBankSubsystem.cs -------------------------------------------------------------------------------- /FacadePattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FacadePattern/Program.cs -------------------------------------------------------------------------------- /FacadePattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FacadePattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /FactoryPattern/AbstractBus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FactoryPattern/AbstractBus.cs -------------------------------------------------------------------------------- /FactoryPattern/AbstractCar.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FactoryPattern/AbstractCar.cs -------------------------------------------------------------------------------- /FactoryPattern/AbstractFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FactoryPattern/AbstractFactory.cs -------------------------------------------------------------------------------- /FactoryPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FactoryPattern/App.config -------------------------------------------------------------------------------- /FactoryPattern/FactoryPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FactoryPattern/FactoryPattern.csproj -------------------------------------------------------------------------------- /FactoryPattern/IFactoryMethod.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FactoryPattern/IFactoryMethod.cs -------------------------------------------------------------------------------- /FactoryPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FactoryPattern/Program.cs -------------------------------------------------------------------------------- /FactoryPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FactoryPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /FactoryPattern/ReflectFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FactoryPattern/ReflectFactory.cs -------------------------------------------------------------------------------- /FactoryPattern/SimpleFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FactoryPattern/SimpleFactory.cs -------------------------------------------------------------------------------- /FlyweightPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FlyweightPattern/App.config -------------------------------------------------------------------------------- /FlyweightPattern/Email.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FlyweightPattern/Email.cs -------------------------------------------------------------------------------- /FlyweightPattern/EmailTemplateFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FlyweightPattern/EmailTemplateFactory.cs -------------------------------------------------------------------------------- /FlyweightPattern/FlyweightPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FlyweightPattern/FlyweightPattern.csproj -------------------------------------------------------------------------------- /FlyweightPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FlyweightPattern/Program.cs -------------------------------------------------------------------------------- /FlyweightPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/FlyweightPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /IteratorPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/IteratorPattern/App.config -------------------------------------------------------------------------------- /IteratorPattern/Iterator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/IteratorPattern/Iterator.cs -------------------------------------------------------------------------------- /IteratorPattern/IteratorPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/IteratorPattern/IteratorPattern.csproj -------------------------------------------------------------------------------- /IteratorPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/IteratorPattern/Program.cs -------------------------------------------------------------------------------- /IteratorPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/IteratorPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /MediatorPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MediatorPattern/App.config -------------------------------------------------------------------------------- /MediatorPattern/Mediator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MediatorPattern/Mediator.cs -------------------------------------------------------------------------------- /MediatorPattern/MediatorPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MediatorPattern/MediatorPattern.csproj -------------------------------------------------------------------------------- /MediatorPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MediatorPattern/Program.cs -------------------------------------------------------------------------------- /MediatorPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MediatorPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /MementoPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MementoPattern/App.config -------------------------------------------------------------------------------- /MementoPattern/Caretaker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MementoPattern/Caretaker.cs -------------------------------------------------------------------------------- /MementoPattern/ContactMemento.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MementoPattern/ContactMemento.cs -------------------------------------------------------------------------------- /MementoPattern/ContactPerson.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MementoPattern/ContactPerson.cs -------------------------------------------------------------------------------- /MementoPattern/MementoPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MementoPattern/MementoPattern.csproj -------------------------------------------------------------------------------- /MementoPattern/Mobile.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MementoPattern/Mobile.cs -------------------------------------------------------------------------------- /MementoPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MementoPattern/Program.cs -------------------------------------------------------------------------------- /MementoPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/MementoPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /ObserverPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ObserverPattern/App.config -------------------------------------------------------------------------------- /ObserverPattern/DelegateImplement/FishingRod.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ObserverPattern/DelegateImplement/FishingRod.cs -------------------------------------------------------------------------------- /ObserverPattern/FishType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ObserverPattern/FishType.cs -------------------------------------------------------------------------------- /ObserverPattern/ObserverPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ObserverPattern/ObserverPattern.csproj -------------------------------------------------------------------------------- /ObserverPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ObserverPattern/Program.cs -------------------------------------------------------------------------------- /ObserverPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ObserverPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /ObserverPattern/SimpleImplement/FishingTool.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ObserverPattern/SimpleImplement/FishingTool.cs -------------------------------------------------------------------------------- /PrototypePattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/PrototypePattern/App.config -------------------------------------------------------------------------------- /PrototypePattern/Email.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/PrototypePattern/Email.cs -------------------------------------------------------------------------------- /PrototypePattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/PrototypePattern/Program.cs -------------------------------------------------------------------------------- /PrototypePattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/PrototypePattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /PrototypePattern/PrototypePattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/PrototypePattern/PrototypePattern.csproj -------------------------------------------------------------------------------- /ProxyPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ProxyPattern/App.config -------------------------------------------------------------------------------- /ProxyPattern/ISearchEngine.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ProxyPattern/ISearchEngine.cs -------------------------------------------------------------------------------- /ProxyPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ProxyPattern/Program.cs -------------------------------------------------------------------------------- /ProxyPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ProxyPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /ProxyPattern/ProxyPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/ProxyPattern/ProxyPattern.csproj -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/README.md -------------------------------------------------------------------------------- /SingletonPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/SingletonPattern/App.config -------------------------------------------------------------------------------- /SingletonPattern/GenericSingleton.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/SingletonPattern/GenericSingleton.cs -------------------------------------------------------------------------------- /SingletonPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/SingletonPattern/Program.cs -------------------------------------------------------------------------------- /SingletonPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/SingletonPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /SingletonPattern/Singleton1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/SingletonPattern/Singleton1.cs -------------------------------------------------------------------------------- /SingletonPattern/Singleton2.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/SingletonPattern/Singleton2.cs -------------------------------------------------------------------------------- /SingletonPattern/Singleton3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/SingletonPattern/Singleton3.cs -------------------------------------------------------------------------------- /SingletonPattern/Singleton4.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/SingletonPattern/Singleton4.cs -------------------------------------------------------------------------------- /SingletonPattern/SingletonPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/SingletonPattern/SingletonPattern.csproj -------------------------------------------------------------------------------- /StatePattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StatePattern/App.config -------------------------------------------------------------------------------- /StatePattern/Car.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StatePattern/Car.cs -------------------------------------------------------------------------------- /StatePattern/ICarState.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StatePattern/ICarState.cs -------------------------------------------------------------------------------- /StatePattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StatePattern/Program.cs -------------------------------------------------------------------------------- /StatePattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StatePattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /StatePattern/RuningState.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StatePattern/RuningState.cs -------------------------------------------------------------------------------- /StatePattern/SpeedDownState.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StatePattern/SpeedDownState.cs -------------------------------------------------------------------------------- /StatePattern/SpeedUpState.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StatePattern/SpeedUpState.cs -------------------------------------------------------------------------------- /StatePattern/StatePattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StatePattern/StatePattern.csproj -------------------------------------------------------------------------------- /StatePattern/StopState.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StatePattern/StopState.cs -------------------------------------------------------------------------------- /StrategyPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StrategyPattern/App.config -------------------------------------------------------------------------------- /StrategyPattern/ITravelStrategy.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StrategyPattern/ITravelStrategy.cs -------------------------------------------------------------------------------- /StrategyPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StrategyPattern/Program.cs -------------------------------------------------------------------------------- /StrategyPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StrategyPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /StrategyPattern/StrategyPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/StrategyPattern/StrategyPattern.csproj -------------------------------------------------------------------------------- /TemplateMethodPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/TemplateMethodPattern/App.config -------------------------------------------------------------------------------- /TemplateMethodPattern/AssembleComputer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/TemplateMethodPattern/AssembleComputer.cs -------------------------------------------------------------------------------- /TemplateMethodPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/TemplateMethodPattern/Program.cs -------------------------------------------------------------------------------- /TemplateMethodPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/TemplateMethodPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /TemplateMethodPattern/TemplateMethodPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/TemplateMethodPattern/TemplateMethodPattern.csproj -------------------------------------------------------------------------------- /VisitorPattern/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/App.config -------------------------------------------------------------------------------- /VisitorPattern/Customer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/Customer.cs -------------------------------------------------------------------------------- /VisitorPattern/Distributor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/Distributor.cs -------------------------------------------------------------------------------- /VisitorPattern/Order.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/Order.cs -------------------------------------------------------------------------------- /VisitorPattern/OrderCenter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/OrderCenter.cs -------------------------------------------------------------------------------- /VisitorPattern/OrderLine.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/OrderLine.cs -------------------------------------------------------------------------------- /VisitorPattern/Picker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/Picker.cs -------------------------------------------------------------------------------- /VisitorPattern/Product.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/Product.cs -------------------------------------------------------------------------------- /VisitorPattern/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/Program.cs -------------------------------------------------------------------------------- /VisitorPattern/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /VisitorPattern/ReturnOrder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/ReturnOrder.cs -------------------------------------------------------------------------------- /VisitorPattern/SaleOrder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/SaleOrder.cs -------------------------------------------------------------------------------- /VisitorPattern/Visitor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/Visitor.cs -------------------------------------------------------------------------------- /VisitorPattern/VisitorPattern.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YSGStudyHards/Design-Pattern/HEAD/VisitorPattern/VisitorPattern.csproj --------------------------------------------------------------------------------