-
Notifications
You must be signed in to change notification settings - Fork 365
/
UnhandledElementEventArgs.cs
59 lines (54 loc) · 2.34 KB
/
UnhandledElementEventArgs.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//===============================================================================================================
// System : Sandcastle Tools - Sandcastle Tools Core Class Library
// File : UnhandledElementEventArgs.cs
// Author : Eric Woodruff (Eric@EWoodruff.us)
// Updated : 03/11/2022
// Note : Copyright 2022, Eric Woodruff, All rights reserved
//
// This file contains an event arguments class used to report unhandled elements found while transforming a
// presentation style topic.
//
// This code is published under the Microsoft Public License (Ms-PL). A copy of the license should be
// distributed with the code and can be found at the project website: https://GitHub.com/EWSoftware/SHFB. This
// notice, the author's name, and all copyright notices must remain intact in all applications, documentation,
// and source files.
//
// Date Who Comments
// ==============================================================================================================
// 03/11/2022 EFW Created the code
//===============================================================================================================
using System;
namespace Sandcastle.Core.PresentationStyle.Transformation
{
/// <summary>
/// This event arguments class is used to report unhandled elements found while transforming a presentation
/// style topic.
/// </summary>
public class UnhandledElementEventArgs : EventArgs
{
/// <summary>
/// The topic key
/// </summary>
public string Key { get; }
/// <summary>
/// The unhandled element name
/// </summary>
public string ElementName { get; }
/// <summary>
/// The parent element name of the unhandled element
/// </summary>
public string ParentElementName { get; }
/// <summary>
/// Constructor
/// </summary>
/// <param name="key">The topic key</param>
/// <param name="elementName">The unhandled element name</param>
/// <param name="parentElementName">The parent element name of the unhandled element</param>
public UnhandledElementEventArgs(string key, string elementName, string parentElementName)
{
this.Key = key;
this.ElementName = elementName;
this.ParentElementName = parentElementName;
}
}
}