terminal/src/cascadia/WpfTerminalControl/TerminalOutputEventArgs.cs
Zoey Riordan b9233c03d1 add wpf control (#2004)
This adds the WPF control to our project, courtesy of the Visual Studio team.
It re-hosts the Terminal Control components inside a reusable WPF adapter so it can be composed onto C# type surfaces like Visual Studio requires.
2019-10-11 14:02:09 -07:00

30 lines
881 B
C#

// <copyright file="TerminalOutputEventArgs.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// </copyright>
namespace Microsoft.Terminal.Wpf
{
using System;
/// <summary>
/// Event args for output from the terminal backend.
/// </summary>
public class TerminalOutputEventArgs : EventArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="TerminalOutputEventArgs"/> class.
/// </summary>
/// <param name="data">The backend data associated with the event.</param>
public TerminalOutputEventArgs(string data)
{
this.Data = data;
}
/// <summary>
/// Gets the data sent from the terminal backend.
/// </summary>
public string Data { get; }
}
}