1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Removed ServiceModel references

This commit is contained in:
Mark McDowall 2013-08-05 22:30:56 -07:00
parent 083f649b5c
commit fd30d94972
3 changed files with 4 additions and 3 deletions

View File

@ -92,7 +92,6 @@
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>

View File

@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml.Linq;
using NLog;
@ -61,7 +62,7 @@ protected virtual string GetTitle(XElement item)
protected virtual string GetNzbUrl(XElement item)
{
return item.Links()[0];
return item.Links().First();
}
protected virtual string GetNzbInfoUrl(XElement item)

View File

@ -1,4 +1,5 @@
using System;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml.Linq;
using NLog;
@ -49,7 +50,7 @@ protected override string GetTitle(XElement item)
protected override string GetNzbInfoUrl(XElement item)
{
return item.Links()[0];
return item.Links().First();
}
protected override string GetNzbUrl(XElement item)