jellyfin/MediaBrowser.Dlna/PlayTo/CurrentIdEventArgs.cs

22 lines
422 B
C#
Raw Normal View History

2014-02-26 14:31:47 -07: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);
}
}
}
}