15 lines
488 B
C#
15 lines
488 B
C#
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));
|
|
}
|
|
}
|
|
}
|