update nuget

This commit is contained in:
Luke Pulverenti
2013-07-08 22:38:18 -04:00
parent b70ecab40a
commit 48265fefa4
9 changed files with 48 additions and 14 deletions

View File

@@ -62,7 +62,12 @@ namespace MediaBrowser.Common.Extensions
/// <exception cref="System.ArgumentNullException">attrib</exception>
public static string GetAttributeValue(this string str, string attrib)
{
if (attrib == null)
if (string.IsNullOrEmpty(str))
{
throw new ArgumentNullException("str");
}
if (string.IsNullOrEmpty(attrib))
{
throw new ArgumentNullException("attrib");
}