示例#1
0
 public RelationEvent(
     Relation.IUserRelationService userRelationService,
     INotifyServiceProxy notifyServiceProxy,
     Tgnet.FootChat.User.IUserManager userManager,
     Tgnet.FootChat.Push.IPushManager pushManager)
 {
     _UserRelationService = userRelationService;
     _NotifyServiceProxy  = notifyServiceProxy;
     _UserManager         = userManager;
     _PushManager         = pushManager;
 }
示例#2
0
 public IRelationEvent CreateEvent(Relation.IUserRelationService relation)
 {
     ExceptionHelper.ThrowIfNull(relation, "relation");
     return(new RelationEvent(relation, _NotifyServiceProxy, _UserManager, _PushManager));
 }