Inheritance: 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();
        }