File tree Expand file tree Collapse file tree
OnTopic/Obsolete/Repositories Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /*==============================================================================================================================
2+ | Author Ignia, LLC
3+ | Client Ignia, LLC
4+ | Project Topics Library
5+ \=============================================================================================================================*/
6+ using System ;
7+
8+ namespace OnTopic . Repositories {
9+
10+ /*============================================================================================================================
11+ | CLASS: DELETE EVENT ARGS
12+ \---------------------------------------------------------------------------------------------------------------------------*/
13+ /// <summary>
14+ /// The DeleteEventArgs class defines an event argument type specific to deletion events
15+ /// </summary>
16+ [ Obsolete ( "The DeleteEventArgs has been renamed to TopicEventArgs" , true ) ]
17+ public class DeleteEventArgs : EventArgs {
18+
19+ /*==========================================================================================================================
20+ | CONSTRUCTOR: TAXONOMY DELETE EVENT ARGS
21+ \-------------------------------------------------------------------------------------------------------------------------*/
22+ /// <summary>
23+ /// Initializes a new instance of the <see cref="DeleteEventArgs"/> class.
24+ /// </summary>
25+ /// <param name="topic">The topic.</param>
26+ public DeleteEventArgs ( Topic topic ) : base ( ) {
27+ Topic = topic ;
28+ }
29+
30+ /*==========================================================================================================================
31+ | PROPERTY: TOPIC
32+ \-------------------------------------------------------------------------------------------------------------------------*/
33+ /// <summary>
34+ /// Getter that returns the Topic object associated with the event
35+ /// </summary>
36+ public Topic Topic { get ; set ; }
37+
38+ } //Class
39+ } //Namespace
You can’t perform that action at this time.
0 commit comments