Esempio n. 1
0
 internal JTypeDatabase(SharedDatabaseState cloning)
 {
     _sharedState = cloning;
     _sharedState.ListenForCorruptDatabase(this);
     _modules = new Dictionary<string, IJModule>();
     _constants = new Dictionary<IJType, CJConstant>();
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor used for the default type database specified with a version.
 /// </summary>
 internal JTypeDatabase(string databaseDirectory, Version languageVersion)
 {
     _sharedState = new SharedDatabaseState(databaseDirectory, languageVersion);
     _sharedState.ListenForCorruptDatabase(this);
 }
Esempio n. 3
0
 public JTypeDatabase(string databaseDirectory, bool is3x = false, IBuiltinJModule builtinsModule = null)
 {
     _sharedState = new SharedDatabaseState(databaseDirectory, is3x, builtinsModule);
     _sharedState.ListenForCorruptDatabase(this);
 }