Example #1
0
 public string GetUniqueId(string fullPath)
 {
     if (!(UniqueIdLookup.ContainsKey(fullPath)))
     {
         return(null);
     }
     else
     {
         return(UniqueIdLookup[fullPath]);
     }
 }
Example #2
0
        public string GetPath(string uniqueId)
        {
            var ppair = UniqueIdLookup.FirstOrDefault(pp => pp.Value == uniqueId);

            if (ppair.Equals(default(KeyValuePair <string, string>)))
            {
                return(null);
            }
            else
            {
                return(ppair.Key);
            }
        }