mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
removed TvdbLib.dll using the embedded wattvdb.codeplex.com
This commit is contained in:
parent
32ed3dbb46
commit
ba68dd9386
66 changed files with 103 additions and 23915 deletions
20
NzbDrone.Common/TryParseExtension.cs
Normal file
20
NzbDrone.Common/TryParseExtension.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace NzbDrone.Common
|
||||
{
|
||||
public static class TryParseExtension
|
||||
{
|
||||
public static Nullable<int> ParseInt32(this string source)
|
||||
{
|
||||
Int32 result = 0;
|
||||
|
||||
if (Int32.TryParse(source, out result))
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue