Пример #1
0
 /// <summary>
 /// Return true if we have already recorded a custom field definition change for this object and flid.
 /// </summary>
 /// <returns></returns>
 internal bool IsFieldForWhichCustomFieldDefnChanged(LcmPropertyChangedBase action)
 {
     if (m_customFieldChanges == null)
     {
         return(false);
     }
     return
         (m_customFieldChanges.Any(cfc => cfc.Object == action.Object && cfc.ModifiedFlid == action.ModifiedFlid));
 }
Пример #2
0
 internal bool TryGetPropertyChange(LcmPropertyChangedBase keyAction, out LcmPropertyChangedBase result)
 {
     return(m_propertyChanges.TryGetValue(keyAction, out result));
 }
Пример #3
0
 internal void NotePropertyChange(LcmPropertyChangedBase undoAction)
 {
     m_propertyChanges[undoAction] = undoAction;
     AddVerifiedAction(undoAction);
 }