public string FullFileName(AMeshKey key) { string id = key.ToString(); string init = id.Substring(0,1); id = System.IO.Path.Combine(init, id); id = System.IO.Path.Combine(cachePath, id); return id; }
public void FileNames(AMeshKey key, out string dir,out string fullFileName) { string id = key.ToString(); string init = id.Substring(0, 1); dir = System.IO.Path.Combine(cachePath, init); fullFileName = System.IO.Path.Combine(dir, id); }