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