public static void AddLayerFile(FileListFile file) { if (!LayerFileDict.ContainsKey(file.FileInfo.Name)) { LayerFileDict[file.FileInfo.Name] = file; } }
public static FileListFile GetLayerFile(string modelName) { if (LayerFileDict.ContainsKey(modelName)) { return(LayerFileDict[modelName]); } return(null); }