Beispiel #1
0
        static void Main(string[] args)
        {
            ThreeHolePlug adapter = new PowerAdapter();

            adapter.Charging();
            Console.ReadLine();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            PowerAdapter powerAdapter = new PowerAdapter();

            var result = powerAdapter.ThreePinMethod();

            Console.WriteLine(result);

            Console.ReadKey();
        }
Beispiel #3
0
        static void Main(string[] args)
        {
            IThreeHole threehole = new PowerAdapter();

            threehole.Request();
            Console.ReadLine();

            Target target = new PowerAdapterObject();

            target.Request();
            Console.ReadLine();
        }