ToPathString() публичный Метод

Returns this ID represented as a path-safe string.
public ToPathString ( ) : string
Результат string
Пример #1
0
 /// <summary>
 /// Where should we save a particular value?
 /// </summary>
 /// <param name="key"></param>
 /// <param name="hash"></param>
 /// <returns></returns>
 private string PathFor(ID key, ID hash)
 {
     return Path.Combine(Path.Combine(storageRoot, key.ToPathString()), hash.ToPathString() + DATA_EXTENSION);
 }
Пример #2
0
 /// <summary>
 /// Where should we save a particular value?
 /// </summary>
 /// <param name="key"></param>
 /// <param name="hash"></param>
 /// <returns></returns>
 private string PathFor(ID key, ID hash)
 {
     return(Path.Combine(Path.Combine(storageRoot, key.ToPathString()), hash.ToPathString() + DATA_EXTENSION));
 }