Inheritance: LocalDirectory
Example #1
0
        private RootDirectory()
        {
            if (s_Instance != null)
                throw new Exception("Only one instance is allowed");

            s_Instance = this;

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

            s_Instance = this;

            m_MyDirectory = new MyDirectory();
        }