예제 #1
0
        public void Add(MapIndexType type, string index)
        {
            MapIndexData mapIndexData = new MapIndexData();

            mapIndexData.type    = type;
            mapIndexData.index   = index;
            this.indexData[type] = mapIndexData;
        }
예제 #2
0
 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);
 }
예제 #3
0
 public string GetData(MapIndexType type)
 {
     return(this.indexData[type].index);
 }