Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public IUserEvent CreateEvent(Tgnet.FootChat.User.IUserService user)
 {
     ExceptionHelper.ThrowIfNull(user, nameof(user));
     return(new UserEvent(user, _UserManager, _PushManager, _NotifyServiceProxy));
 }