/// <summary>
 /// Constructor.
 /// </summary>
 internal MemoryOnlyBackendProvider(LcmCache cache, IdentityMap identityMap, ICmObjectSurrogateFactory surrogateFactory,
                                    IFwMetaDataCacheManagedInternal mdc, IDataMigrationManager dataMigrationManager, ILcmUI ui, ILcmDirectories dirs, LcmSettings settings)
     : base(cache, identityMap, surrogateFactory, mdc, dataMigrationManager, ui, dirs, settings)
 {
     m_projectSettingsStore = new MemorySettingsStore();
     m_userSettingsStore    = new MemorySettingsStore();
 }
		internal SharedXMLBackendProvider(FdoCache cache, IdentityMap identityMap, ICmObjectSurrogateFactory surrogateFactory, IFwMetaDataCacheManagedInternal mdc,
			IDataMigrationManager dataMigrationManager, IFdoUI ui, IFdoDirectories dirs, FdoSettings settings)
			: base(cache, identityMap, surrogateFactory, mdc, dataMigrationManager, ui, dirs, settings)
		{
			m_peerProcesses = new Dictionary<int, Process>();
			m_peerID = Guid.NewGuid();
		}
Exemple #3
0
 protected ClientServerBackendProvider(FdoCache cache,
                                       IdentityMap identityMap,
                                       ICmObjectSurrogateFactory surrogateFactory,
                                       IFwMetaDataCacheManagedInternal mdc,
                                       IDataMigrationManager dataMigrationManager) : base(cache, identityMap, surrogateFactory, mdc, dataMigrationManager)
 {
 }
 protected ClientServerBackendProvider(FdoCache cache,
                                       IdentityMap identityMap,
                                       ICmObjectSurrogateFactory surrogateFactory,
                                       IFwMetaDataCacheManagedInternal mdc,
                                       IDataMigrationManager dataMigrationManager,
                                       IFdoUI ui, IFdoDirectories dirs, FdoSettings settings) : base(cache, identityMap, surrogateFactory, mdc, dataMigrationManager, ui, dirs, settings)
 {
 }
		protected ClientServerBackendProvider(FdoCache cache,
			IdentityMap identityMap,
			ICmObjectSurrogateFactory surrogateFactory,
			IFwMetaDataCacheManagedInternal mdc,
			IDataMigrationManager dataMigrationManager,
			IFdoUI ui, IFdoDirectories dirs, FdoSettings settings) : base(cache, identityMap, surrogateFactory, mdc, dataMigrationManager, ui, dirs, settings)
		{
		}
        internal SharedXMLBackendProvider(FdoCache cache, IdentityMap identityMap, ICmObjectSurrogateFactory surrogateFactory, IFwMetaDataCacheManagedInternal mdc,
                                          IDataMigrationManager dataMigrationManager, IFdoUI ui, IFdoDirectories dirs, FdoSettings settings)
            : base(cache, identityMap, surrogateFactory, mdc, dataMigrationManager, ui, dirs, settings)
        {
            m_peerProcesses = new Dictionary <int, Process>();
            m_peerID        = Guid.NewGuid();
#if __MonoCS__
            // /dev/shm is not guaranteed to be available on all systems, so fall back to temp
            m_commitLogDir = Directory.Exists("/dev/shm") ? "/dev/shm" : Path.GetTempPath();
#endif
        }
		internal SharedXMLBackendProvider(FdoCache cache, IdentityMap identityMap, ICmObjectSurrogateFactory surrogateFactory, IFwMetaDataCacheManagedInternal mdc,
			IDataMigrationManager dataMigrationManager, IFdoUI ui, IFdoDirectories dirs, FdoSettings settings)
			: base(cache, identityMap, surrogateFactory, mdc, dataMigrationManager, ui, dirs, settings)
		{
			m_peerProcesses = new Dictionary<int, Process>();
			m_peerID = Guid.NewGuid();
#if __MonoCS__
			// /dev/shm is not guaranteed to be available on all systems, so fall back to temp
			m_commitLogDir = Directory.Exists("/dev/shm") ? "/dev/shm" : Path.GetTempPath();
#endif
		}
		private ICmObjectSurrogate GetSurrogate(ICmObject obj, ICmObjectSurrogateFactory cmoFactory)
		{
			return cmoFactory.Create(obj);
		}
Exemple #9
0
 private ICmObjectSurrogate GetSurrogate(ICmObject obj, ICmObjectSurrogateFactory cmoFactory)
 {
     return(cmoFactory.Create(obj));
 }