Example #1
0
 public CacheChangedEventArgs(CacheChangedReason reason, string key, object oldValue, object newValue = null)
 {
     this.Reason   = reason;
     this.Key      = key;
     this.NewValue = newValue;
     this.OldValue = oldValue;
 }
		public CacheChangedEventArgs(CacheChangedReason reason, string oldKey, object oldValue, string newKey = null, object newValue = null)
		{
			_reason = reason;
			_oldKey = oldKey;
			_oldValue = oldValue;
			_newKey = newKey;
			_newValue = newValue;
		}
 public CacheChangedEventArgs(CacheChangedReason reason, string oldKey, object oldValue, string newKey = null, object newValue = null)
 {
     _reason   = reason;
     _oldKey   = oldKey;
     _oldValue = oldValue;
     _newKey   = newKey;
     _newValue = newValue;
 }