aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/SideChains/RealTimeGraphX/EventArguments/InputChangedEventArgs.cs
blob: 8a75e67af3283e8e270a621e7d85e207a5d78197 (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 input <see cref="IGraphComponent"/> change event arguments.
    /// </summary>
    /// <typeparam name="TIn">The type of the input component.</typeparam>
    /// <seealso cref="System.EventArgs" />
    public class InputChangedEventArgs<TIn> : EventArgs where TIn : IGraphComponent
    {
        /// <summary>
        /// Gets or sets the input graph component.
        /// </summary>
        public TIn Input { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="InputChangedEventArgs{TIn}"/> class.
        /// </summary>
        /// <param name="input">The input.</param>
        public InputChangedEventArgs(TIn input)
        {
            Input = input;
        }
    }
}