Ejemplo n.º 1
0
        private static void OnNotifyTextChanged(NotifyUpdatedEventArgs e)
        {
            var threadSafeHandler = Interlocked.CompareExchange(ref NotifyTextChanged, null, null);

            if (threadSafeHandler != null)
            {
                threadSafeHandler(null, e);
            }
            NotifyTextChangedEvent.Raise(e);
        }
Ejemplo n.º 2
0
 private static void OnNotifyTextChanged(NotifyUpdatedEventArgs e)
 {
     var threadSafeHandler = Interlocked.CompareExchange(ref NotifyTextChanged, null, null);
     if (threadSafeHandler != null) threadSafeHandler(null, e);
     NotifyTextChangedEvent.Raise(e);
 }