Esempio n. 1
0
 private void OnSignalRaised(object sender, SignaledChangeEventArgs e)
 {
     if (string.IsNullOrEmpty(e.Name) || string.Equals(e.Name, name))
     {
         // Cache objects are obligated to remove entry upon change notification.
         OnChanged(null);
     }
 }
Esempio n. 2
0
 private void OnSignalRaised(object sender, SignaledChangeEventArgs e)
 {
     if (string.IsNullOrWhiteSpace(e.Name) || string.Compare(e.Name, _name, true) == 0)
     {
         Debug.WriteLine(
             _uniqueId + " notifying cache of change.", "SignaledChangeMonitor");
         // Cache objects are obligated to remove entry upon change notification.
         base.OnChanged(null);
     }
 }
Esempio n. 3
0
 private void OnSignalRaised(object sender, SignaledChangeEventArgs e)
 {
     if (string.IsNullOrWhiteSpace(e.Name) || string.Compare(e.Name, _name, true) == 0)
     {
         Debug.WriteLine(
             _uniqueId + " notifying cache of change.", "SignaledChangeMonitor");
         // Cache objects are obligated to remove entry upon change notification.
         base.OnChanged(null);
     }
 }