Revision 759bd3c4 trunk/Pithos.Interfaces/ObjectInfo.cs
b/trunk/Pithos.Interfaces/ObjectInfo.cs | ||
---|---|---|
127 | 127 |
|
128 | 128 |
public Stream Stream { get; set; } |
129 | 129 |
|
130 |
|
|
131 |
public Uri StorageUri { get; set; } |
|
132 |
|
|
130 | 133 |
public string Account { get; set; } |
131 | 134 |
|
132 | 135 |
public string Container { get; set; } |
133 | 136 |
|
137 |
public Uri Uri |
|
138 |
{ |
|
139 |
get |
|
140 |
{ |
|
141 |
var relativeUrl=String.Format("{0}/{1}/{2}",Account, Container,Name); |
|
142 |
return new Uri(StorageUri,relativeUrl); |
|
143 |
} |
|
144 |
} |
|
145 |
|
|
134 | 146 |
public string ContendDisposition { get; set; } |
135 | 147 |
|
136 | 148 |
public string ContentEncoding { get; set; } |
... | ... | |
223 | 235 |
Last_Modified = DateTime.MinValue |
224 | 236 |
}; |
225 | 237 |
|
238 |
|
|
239 |
|
|
226 | 240 |
public string RelativeUrlToFilePath(string currentAccount) |
227 | 241 |
{ |
228 | 242 |
if (Name==null) |
Also available in: Unified diff