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; }
public IRelationEvent CreateEvent(Relation.IUserRelationService relation) { ExceptionHelper.ThrowIfNull(relation, "relation"); return(new RelationEvent(relation, _NotifyServiceProxy, _UserManager, _PushManager)); }