Revision 31c97141 trunk/Pithos.Interfaces/ObjectInfo.cs
b/trunk/Pithos.Interfaces/ObjectInfo.cs | ||
---|---|---|
53 | 53 |
namespace Pithos.Interfaces |
54 | 54 |
{ |
55 | 55 |
[DebuggerDisplay("Name {Name}")] |
56 |
public class ObjectInfo:DynamicObject |
|
56 |
public class ObjectInfo//:DynamicObject
|
|
57 | 57 |
{ |
58 | 58 |
private readonly List<string> _knownContainers= new List<string>{"trash"}; |
59 | 59 |
public string Name { get; set; } |
... | ... | |
234 | 234 |
Hash = String.Empty, |
235 | 235 |
Bytes = 0, |
236 | 236 |
Content_Type = String.Empty, |
237 |
Last_Modified = DateTime.MinValue |
|
237 |
Last_Modified = DateTime.MinValue, |
|
238 |
Exists=false |
|
238 | 239 |
}; |
239 | 240 |
|
240 |
|
|
241 |
private bool _exists=true; |
|
242 |
|
|
243 |
public bool Exists |
|
244 |
{ |
|
245 |
get { |
|
246 |
return _exists; |
|
247 |
} |
|
248 |
set { |
|
249 |
_exists = value; |
|
250 |
} |
|
251 |
} |
|
252 |
|
|
241 | 253 |
|
242 | 254 |
public string RelativeUrlToFilePath(string currentAccount) |
243 | 255 |
{ |
... | ... | |
268 | 280 |
return finalPath; |
269 | 281 |
} |
270 | 282 |
|
283 |
/* |
|
271 | 284 |
public override bool TrySetMember(SetMemberBinder binder, object value) |
272 | 285 |
{ |
273 | 286 |
if (binder.Name.StartsWith("x_object_meta")) |
... | ... | |
276 | 289 |
} |
277 | 290 |
return false; |
278 | 291 |
} |
292 |
*/ |
|
279 | 293 |
|
280 | 294 |
public string GetPermissionString() |
281 | 295 |
{ |
Also available in: Unified diff