当前位置: 首页>>代码示例>>C#>>正文


C# Internal.Config4Impl类代码示例

本文整理汇总了C#中Db4objects.Db4o.Internal.Config4Impl的典型用法代码示例。如果您正苦于以下问题:C# Config4Impl类的具体用法?C# Config4Impl怎么用?C# Config4Impl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Config4Impl类属于Db4objects.Db4o.Internal命名空间,在下文中一共展示了Config4Impl类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: TestCSAliases

		public void TestCSAliases()
		{
			Config4Impl config = new Config4Impl();
			JavaSupport javaSupport = new JavaSupport();

			javaSupport.Prepare(config);

			string resolvedName = config.ResolveAliasRuntimeName(UnversionedNameFor(typeof(ClassInfo)));
			Assert.AreEqual("com.db4o.cs.internal.ClassInfo", resolvedName);
		}
开发者ID:erdincay,项目名称:db4o,代码行数:10,代码来源:JavaSupporAliasesTestCase.cs

示例2: IdSystemConfigurationImpl

		public IdSystemConfigurationImpl(Config4Impl config)
		{
			_config = config;
		}
开发者ID:Galigator,项目名称:db4o,代码行数:4,代码来源:IdSystemConfigurationImpl.cs

示例3: ApplyRenames

		protected override bool ApplyRenames(Config4Impl config)
		{
			LogMsg(58, null);
			return false;
		}
开发者ID:Galigator,项目名称:db4o,代码行数:5,代码来源:ClientObjectContainer.cs

示例4: FileConfigurationImpl

		public FileConfigurationImpl(Config4Impl config)
		{
			_config = config;
		}
开发者ID:Orvid,项目名称:SQLInterfaceCollection,代码行数:4,代码来源:FileConfigurationImpl.cs

示例5: ConfigDeepCloneContext

			public ConfigDeepCloneContext(Config4Impl orig, Config4Impl cloned)
			{
				_orig = orig;
				_cloned = cloned;
			}
开发者ID:Orvid,项目名称:SQLInterfaceCollection,代码行数:5,代码来源:Config4Impl.cs

示例6: ClassInfoHelper

		public ClassInfoHelper(Config4Impl config)
		{
			_config = config;
		}
开发者ID:Orvid,项目名称:SQLInterfaceCollection,代码行数:4,代码来源:ClassInfoHelper.cs

示例7: Frequency

		private int Frequency(Config4Impl config)
		{
			return Math.Min(config.TimeoutClientSocket(), config.TimeoutServerSocket()) / 4;
		}
开发者ID:superyfwy,项目名称:db4o,代码行数:4,代码来源:ClientHeartbeat.cs

示例8: ApplyRenames

		protected virtual bool ApplyRenames(Config4Impl config)
		{
			bool renamed = false;
			IEnumerator i = config.Rename().GetEnumerator();
			while (i.MoveNext())
			{
				Rename ren = (Rename)i.Current;
				if (AlreadyApplied(ren))
				{
					continue;
				}
				if (ApplyRename(ren))
				{
					renamed = true;
				}
			}
			return renamed;
		}
开发者ID:erdincay,项目名称:db4o,代码行数:18,代码来源:ObjectContainerBase.cs

示例9: CacheConfigurationImpl

		public CacheConfigurationImpl(Config4Impl config)
		{
			_config = config;
		}
开发者ID:Orvid,项目名称:SQLInterfaceCollection,代码行数:4,代码来源:CacheConfigurationImpl.cs

示例10: Configure

			public override void Configure(Config4Impl config)
			{
				config.Freespace().UseRamSystem();
			}
开发者ID:bvangrinsven,项目名称:db4o-net,代码行数:4,代码来源:CrashSimulatingTestSuite.cs

示例11: Rename

		internal virtual void Rename(Config4Impl config)
		{
			bool renamedOne = false;
			if (config.Rename() != null)
			{
				renamedOne = ApplyRenames(config);
			}
			_classCollection.CheckChanges();
			if (renamedOne)
			{
				Reboot();
			}
		}
开发者ID:erdincay,项目名称:db4o,代码行数:13,代码来源:ObjectContainerBase.cs

示例12: ServerConfigurationImpl

		public ServerConfigurationImpl(Config4Impl config) : base(config)
		{
		}
开发者ID:erdincay,项目名称:db4o,代码行数:3,代码来源:ServerConfigurationImpl.cs

示例13: InitializeReferenceSystemFactory

		private void InitializeReferenceSystemFactory(Config4Impl config)
		{
			_referenceSystemFactory = config.ReferenceSystemFactory();
		}
开发者ID:erdincay,项目名称:db4o,代码行数:4,代码来源:ObjectContainerBase.cs

示例14: PrepareConfig

		private Config4Impl PrepareConfig(Config4Impl originalConfig, IStorage storage, bool
			 readOnly)
		{
			Config4Impl sourceConfig = (Config4Impl)originalConfig.DeepClone(null);
			sourceConfig.WeakReferences(false);
			sourceConfig.Storage = storage;
			sourceConfig.ReadOnly(readOnly);
			return sourceConfig;
		}
开发者ID:erdincay,项目名称:db4o,代码行数:9,代码来源:DefragmentServicesImpl.cs

示例15: TypeHandlerConfigurationDotNet

 public TypeHandlerConfigurationDotNet(Config4Impl config) : base(config)
 {
     ListTypeHandler(new CollectionTypeHandler());
     MapTypeHandler(new MapTypeHandler());
 }
开发者ID:Orvid,项目名称:SQLInterfaceCollection,代码行数:5,代码来源:TypeHandlerConfigurationDotNet.cs


注:本文中的Db4objects.Db4o.Internal.Config4Impl类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。