mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 17:42:13 +00:00
20 lines
460 B
C#
20 lines
460 B
C#
namespace StockSharp.Studio.Core.Commands
|
|
{
|
|
using System;
|
|
|
|
public class OpenStrategyCommand : BaseStudioCommand
|
|
{
|
|
public StrategyContainer Strategy { get; private set; }
|
|
|
|
public string ContentTemplate { get; set; }
|
|
|
|
public OpenStrategyCommand(StrategyContainer strategy, string contentTemplate = null)
|
|
{
|
|
if (strategy == null)
|
|
throw new ArgumentNullException("strategy");
|
|
|
|
Strategy = strategy;
|
|
ContentTemplate = contentTemplate;
|
|
}
|
|
}
|
|
} |