static BigInt() { _lock_obj = new object(); EngineObject = new Core.BigIntEngine(); var settings = new ConfigurationDictionary(); foreach (var key in new[] { "COMPILER", "CONFIG", "PLATFORM", "TABLESIZE" }) { settings.Add(key, EngineObject.GetConfigurationSettings(key)); } ConfigurationSettings = settings; PerformanceCounters = new PerformanceCounterCollection(); MinusOne = new BigInt(EngineObject.MinusOne); One = new BigInt(EngineObject.One); Zero = new BigInt(EngineObject.Zero); }
static BigIntHandle() { _engine = new BigIntEngine(); _disposable_object = _engine; }