本文整理汇总了C#中Db4objects.Db4o.Internal.Config4Impl类的典型用法代码示例。如果您正苦于以下问题:C# Config4Impl类的具体用法?C# Config4Impl怎么用?C# Config4Impl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Config4Impl类属于Db4objects.Db4o.Internal命名空间,在下文中一共展示了Config4Impl类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: NetworkingConfigurationProviderImpl
public NetworkingConfigurationProviderImpl(Config4Impl config)
{
_networking = new NetworkingConfigurationImpl(config);
}
开发者ID:masroore,项目名称:db4o,代码行数:4,代码来源:NetworkingConfigurationProviderImpl.cs
示例17: TypeHandlerConfiguration
public TypeHandlerConfiguration(Config4Impl config)
{
_config = config;
}
开发者ID:Orvid,项目名称:SQLInterfaceCollection,代码行数:4,代码来源:TypeHandlerConfiguration.cs
示例18: CommonConfigurationImpl
public CommonConfigurationImpl(Config4Impl config)
{
_config = config;
}
开发者ID:superyfwy,项目名称:db4o,代码行数:4,代码来源:CommonConfigurationImpl.cs
示例19: DeepClone
public object DeepClone(object param)
{
Config4Impl ret = new Config4Impl();
Config4Impl.ConfigDeepCloneContext context = new Config4Impl.ConfigDeepCloneContext
(this, ret);
ret._config = (KeySpecHashtable4)_config.DeepClone(context);
ret._internStrings = _internStrings;
ret._messageLevel = _messageLevel;
ret._readOnly = _readOnly;
if (_registeredTypeHandlers != null)
{
ret._registeredTypeHandlers = (Collection4)_registeredTypeHandlers.DeepClone(context
);
}
return ret;
}
开发者ID:Orvid,项目名称:SQLInterfaceCollection,代码行数:16,代码来源:Config4Impl.cs
示例20: InitEncryption
internal void InitEncryption(Config4Impl a_config)
{
if (a_config.Encrypt() && a_config.Password() != null && a_config.Password().Length
> 0)
{
i_encrypt = true;
i_encryptor = new byte[a_config.Password().Length];
for (int i = 0; i < i_encryptor.Length; i++)
{
i_encryptor[i] = (byte)(a_config.Password()[i] & unchecked((int)(0xff)));
}
i_lastEncryptorByte = a_config.Password().Length - 1;
return;
}
OldEncryptionOff();
}
开发者ID:erdincay,项目名称:db4o,代码行数:16,代码来源:HandlerRegistry.cs
注:本文中的Db4objects.Db4o.Internal.Config4Impl类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论