예제 #1
0
 override protected void _lockService_AddItem(UserIdentity userIdentity, ObjectKey key, LockingInfo value)
 {
     PresentationKey presentationKey = GetPresentationKey(key);
     if (presentationKey == null) return;
     if (key.GetObjectType() == ObjectType.Presentation)
         _globalNotifier.Notify(userIdentity, this, "ObjectLocked", value);
     else
     {
         _presentationNotifier.Notify(userIdentity, presentationKey, "ObjectLocked", value);
     }
     //_presentationNotifier.SubscribeForMonitor(presentationKey, value.UserIdentity);
 }