jellyfin-server/MediaBrowser.Dlna/PlayTo/CurrentIdEventArgs.cs

22 lines
422 B
C#
Raw Normal View History

2014-02-26 21:31:47 +00:00
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);
}
}
}
}