mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 17:42:13 +00:00
25 lines
511 B
C#
25 lines
511 B
C#
namespace StockSharp.Studio.Core.Commands
|
|
{
|
|
using System;
|
|
|
|
using StockSharp.Xaml.Charting;
|
|
|
|
public class ChartAddElementCommand : BaseStudioCommand
|
|
{
|
|
public ChartArea Area { get; private set; }
|
|
|
|
public IChartElement Element { get; set; }
|
|
|
|
public ChartAddElementCommand(ChartArea area, IChartElement element)
|
|
{
|
|
if (area == null)
|
|
throw new ArgumentNullException("area");
|
|
|
|
if (element == null)
|
|
throw new ArgumentNullException("element");
|
|
|
|
Area = area;
|
|
Element = element;
|
|
}
|
|
}
|
|
} |