aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.CodeGeneration/Templates/Method.cshtml
blob: 3b54d4e57ed0f8f407f5b44b0f83bf9361c51ec2 (plain)
1
2
3
4
@(Model.GetModifierString()) @(Model.MethodModifier != CodeGenerator.MethodModifier.None ? Model.MethodModifier.ToString().ToLower() : null) @(Model.ReturnType) @(Model.Name)(@(Model.GetArgumentsString()))
            {
                  @Model.Content
            }
* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
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;
        }
    }
}