public void ReloadDataFromFile(string path, int editionType, bool crypto) { this.container_.Clear(); using (ResourceUtilReader reader = new ResourceUtilReader(path, typeof(T).Name.Replace("Reference", ""), editionType, crypto)) { while (reader.GetNextLine()) { if (!ReadOneReference(reader)) { break; } } } OnAfterReload(); }