示例#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);
     }
 }
示例#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);
     }
 }
示例#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);
     }
 }