jellyfin-server/MediaBrowser.Dlna/PlayTo/CurrentIdEventArgs.cs
2014-02-26 16:31:47 -05:00

22 lines
422 B
C#

using System;
namespace MediaBrowser.Dlna.PlayTo
{
public class CurrentIdEventArgs : EventArgs
{
public Guid Id { get; set; }
public CurrentIdEventArgs(string id)
{
if (string.IsNullOrWhiteSpace(id) || id == "0")
{
Id = Guid.Empty;
}
else
{
Id = new Guid(id);
}
}
}
}