static void Main(string[] args) { Assert.AreEqual(args, null); #region Creational Patterns //Abstract Factory; AbstractFactoryExample.AbstractFactory(); #endregion //Adapter AdapterExample.Adapter(); #region beavioural Patterns // Visitor Visitor visitor = new Visitor(); visitor.Main(); //Decorator DecoratorExample.Decorator(); //Command CommandExample.Command(); //Observer ObserverExample.Observer(); #endregion //BusinessDelegate BusinessDelegateExample.BusinessDelegate(); //DataTransferObject DataTransferObjectExample transferObjectExample = new DataTransferObjectExample(); transferObjectExample.StartDemo(); //UnitOfWork UnitOfWorkExample.UnitOfWork(); }
public void Command() { CommandExample.Command(); }