mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
18 lines
382 B
C#
18 lines
382 B
C#
using System;
|
|
|
|
namespace BililiveRecorder.Core.Event
|
|
{
|
|
public sealed class AggregatedRoomEventArgs<T>
|
|
{
|
|
public AggregatedRoomEventArgs(IRoom room, T @event)
|
|
{
|
|
this.Room = room ?? throw new ArgumentNullException(nameof(room));
|
|
this.Event = @event;
|
|
}
|
|
|
|
public IRoom Room { get; }
|
|
|
|
public T Event { get; }
|
|
}
|
|
}
|