Наследование: AbstractDirectory
Пример #1
0
        private RootDirectory()
        {
            if (s_Instance != null)
                throw new Exception("Only one instance is allowed");

            s_Instance = this;

            m_MyDirectory = new MyDirectory();
        }
Пример #2
0
        private RootDirectory()
        {
            if (s_Instance != null)
            {
                throw new Exception("Only one instance is allowed");
            }

            s_Instance = this;

            m_MyDirectory = new MyDirectory();
        }