예제 #1
0
 public override string GetStorageKey(IMediaId id)
 {
     return(Path.Combine(id.GetIdParts( ).Select(GetPartKey).ToArray( )));
 }
예제 #2
0
 public string GetStorageKey(IMediaId key)
 {
     return(string.Join(GetLogicalSeparator( ), key.GetIdParts( )));
 }
예제 #3
0
 public IStorageLocation GetLocation(IMediaId key)
 {
     return(new MemoryStorageLocation(Path.Combine(key.GetIdParts( )), key));
 }
예제 #4
0
 public virtual string GetStorageKey(IMediaId id)
 {
     return(Path.Combine(id.GetIdParts( )));
 }