/// <summary> Called by <see cref="IObjectBM"/>.OnTreeChanged(TreeChangedEventArgs) when tree changed.
 /// </summary>
 /// <param name="eventDelegate">The event delegate.</param>
 /// <param name="businessObject">The business object.</param>
 /// <param name="eventArgs">The <see cref="TreeChangedEventArgs"/> instance containing the event data.</param>
 internal static void OnTreeChanged(EventHandler <TreeChangedEventArgs> eventDelegate, ObjectBM businessObject, TreeChangedEventArgs eventArgs)
 {
     if (eventDelegate == null)
     {
         return;
     }
     if (!IsTreeChangedEventDelayed && !IsTreeChangedEventSkipped && s_DelayedTreeChangedEvents.Count == 0)
     {
         EventUtil.Raise(eventDelegate, businessObject, eventArgs, "{3B5112B8-C8D9-4E00-AC37-AE191EA26E79}");
     }
     else if (!IsTreeChangedEventSkipped)
     {
         s_DelayedTreeChangedEvents.Add(new Tuple <EventHandler <TreeChangedEventArgs>, ObjectBM, TreeChangedEventArgs>(eventDelegate, businessObject, eventArgs));
     }
 }
 /// <summary> Called by <see cref="IObjectBM"/>.OnTreeChanged() when tree changed.
 /// </summary>
 /// <param name="businessObject">The business object.</param>
 /// <param name="eventArgs">The <see cref="TreeChangedEventArgs"/> instance containing the event data.</param>
 internal static void OnTreeChanged(ObjectBM businessObject, TreeChangedEventArgs eventArgs)
 {
     OnTreeChanged(TreeChanged, businessObject, eventArgs);
 }
Exemplo n.º 3
0
 public ReflectedInfo(ObjectBM reflectedObjectBM, BusinessPropertyInfo propertyInfo)
 {
     PropertyInfo       = propertyInfo;
     _ReflectedObjectBM = reflectedObjectBM;
 }