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:
parent
083f649b5c
commit
fd30d94972
@ -92,7 +92,6 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.ServiceModel" />
|
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Xml.Linq;
|
using System.Xml.Linq;
|
||||||
using NLog;
|
using NLog;
|
||||||
@ -61,7 +62,7 @@ protected virtual string GetTitle(XElement item)
|
|||||||
|
|
||||||
protected virtual string GetNzbUrl(XElement item)
|
protected virtual string GetNzbUrl(XElement item)
|
||||||
{
|
{
|
||||||
return item.Links()[0];
|
return item.Links().First();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual string GetNzbInfoUrl(XElement item)
|
protected virtual string GetNzbInfoUrl(XElement item)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using System.Linq;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Xml.Linq;
|
using System.Xml.Linq;
|
||||||
using NLog;
|
using NLog;
|
||||||
@ -49,7 +50,7 @@ protected override string GetTitle(XElement item)
|
|||||||
|
|
||||||
protected override string GetNzbInfoUrl(XElement item)
|
protected override string GetNzbInfoUrl(XElement item)
|
||||||
{
|
{
|
||||||
return item.Links()[0];
|
return item.Links().First();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override string GetNzbUrl(XElement item)
|
protected override string GetNzbUrl(XElement item)
|
||||||
|
Loading…
Reference in New Issue
Block a user