public void Add(MapIndexType type, string index) { MapIndexData mapIndexData = new MapIndexData(); mapIndexData.type = type; mapIndexData.index = index; this.indexData[type] = mapIndexData; }
public string GetIndex(string fromIndex, MapIndexType fromType, MapIndexType toType) { foreach (DriveMapEntry driveMapEntry in this.entries) { try { if (driveMapEntry.indexData[fromType].index == fromIndex) { return(driveMapEntry.indexData[toType].index); } } catch (Exception) { } } return(null); }
public string GetData(MapIndexType type) { return(this.indexData[type].index); }