Code refactoring for cleaner view model design
This commit is contained in:
16
Aurora/Services/ClientService/Events/NewMediaPlayingEvent.cs
Normal file
16
Aurora/Services/ClientService/Events/NewMediaPlayingEvent.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Aurora.Proto.Events;
|
||||
|
||||
namespace Aurora.Services.ClientService.Events
|
||||
{
|
||||
public delegate void NewMediaPlayingEventHandler(object sender, NewMediaPlayingEventArgs e);
|
||||
|
||||
public class NewMediaPlayingEventArgs
|
||||
{
|
||||
public NewMediaPlayingEvent Event { get; private set; }
|
||||
public NewMediaPlayingEventArgs(BaseEvent e)
|
||||
{
|
||||
Event = e.NewMediaPlayingEvent;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user