// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
namespace Microsoft.PowerShell.Commands.ShowCommandInternal
{
///
/// Arguments for the event triggered when something happens at the cmdlet level.
///
public class CommandEventArgs : EventArgs
{
///
/// the command targeted by the event.
///
private CommandViewModel command;
///
/// Initializes a new instance of the CommandEventArgs class.
///
/// The command targeted by the event.
public CommandEventArgs(CommandViewModel command)
{
this.command = command;
}
///
/// Gets the command targeted by the event.
///
public CommandViewModel Command
{
get { return this.command; }
}
}
}