aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/SideChains/RealTimeGraphX/EventArguments/OutputChangedEventArgs.cs
blob: eab2229f1b1ab1c17d44e505039e5872c8dd5643 (plain)
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RealTimeGraphX.EventArguments
{
    /// <summary>
    /// Represents an output <see cref="IGraphComponent"/> change event arguments.
    /// </summary>
    /// <typeparam name="TOut">The type of the output component.</typeparam>
    /// <seealso cref="System.EventArgs" />
    public class OutputChangedEventArgs<TOut> : EventArgs where TOut : IGraphComponent
    {
        /// <summary>
        /// Gets or sets the output graph component.
        /// </summary>
        public TOut Output { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="OutputChangedEventArgs{TOut}"/> class.
        /// </summary>
        /// <param name="output">The output component.</param>
        public OutputChangedEventArgs(TOut output)
        {
            Output = output;
        }
    }
}