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: RENAME EVENT ARGS
12+ \---------------------------------------------------------------------------------------------------------------------------*/
13+ /// <summary>
14+ /// The RenameEventArgs object defines an event argument type specific to rename events.
15+ /// </summary>
16+ [ Obsolete ( "The RenameEventArgs have been renamed to TopicEventArgs." , true ) ]
17+ public class RenameEventArgs : EventArgs {
18+
19+ /*==========================================================================================================================
20+ | CONSTRUCTOR: TAXONOMY RENAME EVENT ARGS
21+ \-------------------------------------------------------------------------------------------------------------------------*/
22+ /// <summary>
23+ /// Initializes a new instance of the <see cref="RenameEventArgs"/> class and sets the <see cref="Topic"/> property based
24+ /// on the specified object.
25+ /// </summary>
26+ /// <param name="topic">The topic object associated with the rename event.</param>
27+ public RenameEventArgs ( Topic topic ) {
28+ Topic = topic ;
29+ }
30+
31+ /*==========================================================================================================================
32+ | PROPERTY: TOPIC
33+ \-------------------------------------------------------------------------------------------------------------------------*/
34+ /// <summary>
35+ /// Gets or sets the Topic object associated with the event.
36+ /// </summary>
37+ /// <value>
38+ /// The topic.
39+ /// </value>
40+ public Topic Topic { get ; }
41+
42+ } //Class
43+ } //Namespace
You can’t perform that action at this time.
0 commit comments