public CruiseControlHttpClientService(DataServiceDetails serviceDetails)
 {
     ServiceDetails = serviceDetails;
     Parser = new CruiseControlClientConvertor(ServiceDetails.TimeZoneOffset);
     RssConvertor = new BuildRssFeedConvertor(ServiceDetails.TimeZoneOffset);
     UniqueServiceIdentifier = Guid.NewGuid();
 }
 public HttpDataService(DataServiceDetails serviceDetails)
 {
     ServiceDetails = serviceDetails;
     Convertor = new CruiseControlDashboardParser(ServiceDetails.TimeZoneOffset);
     RssConvertor = new BuildRssFeedConvertor(ServiceDetails.TimeZoneOffset);
     UniqueServiceIdentifier = Guid.NewGuid();
 }
 private static IEnumerable<BuildDetails> ParseBuildFromRssFile()
 {
     var timeZoneOffset = new TimeSpan(-1, 0, 0);
     var convertor = new BuildRssFeedConvertor(timeZoneOffset);
     XDocument rss = XDocument.Load(@"..\..\ExampleData\RSSFeedExample.xml");
     var builds = convertor.GetBuildFromXml(rss);
     return builds;
 }