123456789101112131415161718192021222324252627282930313233 |
- namespace Wayne.Lib.Log
- {
- /// <summary>
- /// Used within the XmlLogObject class to mask a certain XML element.
- /// </summary>
- public class XmlAttributeMask : XmlNodeMask
- {
- #region Construction
- /// <summary>
- /// Construction.
- /// </summary>
- /// <param name="nodeName">The name of the node to mask.</param>
- /// <param name="attributeName">The name of the attribute to mask.</param>
- /// <param name="maskKind">The way to mask.</param>
- public XmlAttributeMask(string nodeName, string attributeName, DebugLogMaskKind maskKind)
- : base(nodeName, maskKind)
- {
- AttributeName = attributeName;
- }
- #endregion
- #region Properties
- /// <summary>
- /// The name of the attribute to mask.
- /// </summary>
- public string AttributeName { get; private set; }
- #endregion
- }
- }
|