Esempio n. 1
0
 AmazonTemplate NewTemplateLocationFromBucketElement(XElement element)
 {
     var rootPath = new Uri(bucket, "templates/");
     return new AmazonTemplate(rootPath, ReadResource) {
         Path = GetLocalTemplatePathFromBucketKey(element.Element2("Key").Value),
         LastModified = DateTime.Parse(element.Element2("LastModified").Value)
     };
 }