private void UserEvents_Created(User sender, UserCreateInfo args) { using (UserEventQueue eventQueue = new UserEventQueue()) { eventQueue.SendCreatedMessage(sender.Id); } }
private void UserEvents_Deleted(User sender, Business.OperationInfo args) { using (UserEventQueue eventQueue = new UserEventQueue()) { eventQueue.SendDeletedMessage(sender.Id); } }
public OrgCacheSynchronizer(EIMCacheProviderManager cacheProviderManager) { this._cacheProviderManager = cacheProviderManager; this._eventQueue = new UserEventQueue(); }