Made AirDay strongly typed. Added a ReadString extension method.

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-07-20 15:03:11 -04:00
parent 2b74cb5619
commit 3f55707755
6 changed files with 82 additions and 46 deletions

View File

@@ -42,5 +42,13 @@ namespace MediaBrowser.Controller.Xml
return value;
}
/// <summary>
/// Reads an int from the current element of an XmlReader
/// </summary>
public static string ReadString(this XmlReader reader)
{
return reader.ReadElementContentAsString();
}
}
}