Exemplo n.º 1
0
        public static PatternA GetInstance()
        {
            if (_instance == null)
                _instance = new PatternA();

            return _instance;
        }
Exemplo n.º 2
0
        public static PatternA GetInstance()
        {
            if (_instance == null)
            {
                _instance = new PatternA();
            }

            return(_instance);
        }