Inheritance: AbstractDirectory
Exemplo n.º 1
0
        private RootDirectory()
        {
            if (s_Instance != null)
                throw new Exception("Only one instance is allowed");

            s_Instance = this;

            m_MyDirectory = new MyDirectory();
        }
Exemplo n.º 2
0
        private RootDirectory()
        {
            if (s_Instance != null)
            {
                throw new Exception("Only one instance is allowed");
            }

            s_Instance = this;

            m_MyDirectory = new MyDirectory();
        }