|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleControl
{
/// <summary>
/// The ConsoleEventArgs are arguments for a console event.
/// </summary>
public class ConsoleEventArgs : EventArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="ConsoleEventArgs"/> class.
/// </summary>
public ConsoleEventArgs()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="ConsoleEventArgs"/> class.
/// </summary>
/// <param name="content">The content.</param>
public ConsoleEventArgs(string content)
{
// Set the content.
Content = content;
}
/// <summary>
/// Gets the content.
/// </summary>
public string Content
{
get;
private set;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.