AbstractFactory.Client.Run C# (CSharp) Method

Run() public method

public Run ( ) : void
return void
        public void Run()
        {
            _abstractProductB.Interact(_abstractProductA);
        }

Usage Example

Example #1
0
        static void Main(string[] args)
        {
            Client client = null;
            client = new Client(new CocaColaFactory());
            client.Run();

            client = new Client(new PepsiFactory());
            client.Run();

            Console.ReadLine();
        }
All Usage Examples Of AbstractFactory.Client::Run