Revision ebc37b0d trunk/Pithos.Network/ContainerInfo.cs

b/trunk/Pithos.Network/ContainerInfo.cs
48 48
    {
49 49
        public string Account { get; set; }
50 50
        public string Name { get; set; }
51
        public string StorageUrl { get; set; }
51 52
        public long Count { get; set; }
52 53
        public long Bytes { get; set; }
53 54
        public string BlockHash { get; set; }
......
58 59
        public Dictionary<string, string> Tags { get; set; }
59 60
        public Dictionary<string, string> Policies { get; set; }
60 61

  
62
        public Uri AccountKey
63
        {
64
            get { return new Uri(new Uri(StorageUrl), "../" + Account); }
65
        }
66

  
67

  
61 68
        public static ContainerInfo Empty=new ContainerInfo();
62 69

  
63 70
        public ContainerInfo()

Also available in: Unified diff