예제 #1
0
 public static AcRootDirectory Initialize(string directory = null)
 {
     if (Instance != null)
     {
         throw new Exception("Already initialized");
     }
     return(Instance = new AcRootDirectory(directory));
 }
예제 #2
0
        public Superintendent()
        {
            if (AcRootDirectory.Instance == null)
            {
                AcRootDirectory.Initialize();
                if (AcRootDirectory.Instance == null)
                {
                    return;
                }
            }

            AcRootDirectory.Instance.Changed += AcRootDirectory_Changed;
        }
예제 #3
0
 public static AcRootDirectory Initialize() {
     if (Instance != null) throw new Exception("Already initialized");
     return Instance = new AcRootDirectory();
 }