public SettingsMenager2(string moduleName, string moduleHardName, string moduleVersion) { this.objectCollections = new ObjectCollections(); this.moduleName = moduleName; this.moduleHardName = moduleHardName; this.moduleVarsion = moduleVersion; }
public void AddCollection(string name, string identityName) { if (!ObjectCollections.ContainsKey(name)) { var coll = new Collection() { Name = name, IdentityFieldName = identityName, CollectionPath = Path.Combine(SavePath, name) }; coll.Init(); ObjectCollections[name] = coll; } }