Esempio n. 1
0
 public FwProject(LfMergeSettings settings, string database)
 {
     _project = new ProjectIdentifier(settings.FdoDirectorySettings, database);
     _fdoUi   = new ConsoleFdoUi(_progress.SynchronizeInvoke);
     Cache    = TryGetFdoCache();
     if (Cache != null)
     {
         ServiceLocator = new FwServiceLocatorCache(Cache.ServiceLocator);
     }
 }
Esempio n. 2
0
        public FwProject(LfMergeSettings settings, string database)
        {
            // We don't want to use a global writing system store, so we insert a null singleton
            if (!SingletonsContainer.Contains <CoreGlobalWritingSystemRepository>())
            {
                SingletonsContainer.Add(typeof(CoreGlobalWritingSystemRepository).FullName, null);
            }

            _project = new ProjectIdentifier(settings.LcmDirectorySettings, database);
            _lcmUi   = new ConsoleLcmUi(_progress.SynchronizeInvoke);
            Cache    = TryGetLcmCache();
            if (Cache != null)
            {
                ServiceLocator = new FwServiceLocatorCache(Cache.ServiceLocator);
            }
        }