public UserEvent(Tgnet.FootChat.User.IUserService user, Tgnet.FootChat.User.IUserManager userManager, Tgnet.FootChat.Push.IPushManager pushManager, INotifyServiceProxy notifyServiceProxy) { _User = user; _UserManager = userManager; _PushManager = pushManager; _NotifyServiceProxy = notifyServiceProxy; }
public IUserEvent CreateEvent(Tgnet.FootChat.User.IUserService user) { ExceptionHelper.ThrowIfNull(user, nameof(user)); return(new UserEvent(user, _UserManager, _PushManager, _NotifyServiceProxy)); }