sharp-chat/SharpChat.Common/Users/Remote/UserBumpInfo.cs

16 lines
488 B
C#
Raw Normal View History

2022-08-30 15:05:29 +00:00
using SharpChat.Sessions;
using System;
using System.Collections.Generic;
namespace SharpChat.Users.Remote {
public class UserBumpInfo {
public IUser User { get; }
public IEnumerable<ISession> Sessions { get; }
public UserBumpInfo(IUser user, IEnumerable<ISession> sessions) {
User = user ?? throw new ArgumentNullException(nameof(user));
Sessions = sessions ?? throw new ArgumentNullException(nameof(sessions));
}
}
}