namespace Zeta.EnterpriseLibrary.Data.Caching { #region Using directives. // ---------------------------------------------------------------------- using System.Collections.Generic; using System; // ---------------------------------------------------------------------- #endregion ///////////////////////////////////////////////////////////////////////// /// <summary> /// /// </summary> public class InvalidatedDataEventArgs : EventArgs { #region Public methods. // ------------------------------------------------------------------ /// <summary> /// Initializes a new instance of the <see cref="InvalidatedDataEventArgs"/> class. /// </summary> /// <param name="transactionHash">The transaction hash.</param> /// <param name="relatedObjectNames">The related object names.</param> public InvalidatedDataEventArgs( int transactionHash, IList<string> relatedObjectNames ) { _transactionHash = transactionHash; _relatedObjectNames = relatedObjectNames; } // ------------------------------------------------------------------ #endregion #region Public properties. // ------------------------------------------------------------------ /// <summary> /// Gets the related object names. /// </summary> /// <value>The related object names.</value> public IList<string> RelatedObjectNames { get { return _relatedObjectNames; } } public int TransactionHash { get { return _transactionHash; } } // ------------------------------------------------------------------ #endregion #region Private variables. // ------------------------------------------------------------------ private readonly int _transactionHash; private readonly IList<string> _relatedObjectNames; // ------------------------------------------------------------------ #endregion } ///////////////////////////////////////////////////////////////////////// }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)