Пример #1
0
        private FilesManager(ref MainForm mf)
        {
            mainFilesDic = new Dictionary<string, FileDetails>();
            mainForm = mf;

            // Creation of managers
            downloadManager = DownloadManager.GetDownloadManager(this);
            lookupManager = FilesLookupManager.GetFilesLookupManager();
            filePublisher = FilePublisher.GetFilePublisher(this);
        }
Пример #2
0
 public static FilesLookupManager GetFilesLookupManager()
 {
     if (filesLookupManager == null)
     {
         filesLookupManager = new FilesLookupManager();
     }
     return filesLookupManager;
 }