isolate .net specific methods in model project

This commit is contained in:
Luke Pulverenti
2014-06-01 00:11:04 -04:00
parent d1e045f662
commit 20d35a6405
40 changed files with 336 additions and 187 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Linq;
using MediaBrowser.Model.Extensions;
namespace MediaBrowser.Model.Configuration
{
@@ -72,7 +73,7 @@ namespace MediaBrowser.Model.Configuration
{
foreach (NotificationOption i in Options)
{
if (string.Equals(type, i.Type, StringComparison.OrdinalIgnoreCase)) return i;
if (StringHelper.EqualsIgnoreCase(type, i.Type)) return i;
}
return null;
}