Esempio n. 1
0
        static void Main(string[] args)
        {
            var factory = new AuthFactory();
            var auth    = factory.GetAtuh("google");

            auth = factory.GetAtuh("google");
            auth = factory.GetAtuh("google");
            auth = factory.GetAtuh("Facebook");
            auth = factory.GetAtuh("Facebook");
            auth = factory.GetAtuh("google");

            Console.WriteLine(factory.GetAuthCount());;
        }