mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-04 21:32:53 +01:00
Made AirDay strongly typed. Added a ReadString extension method.
This commit is contained in:
parent
2b74cb5619
commit
3f55707755
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user