mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 17:42:13 +00:00
25 lines
507 B
C#
25 lines
507 B
C#
namespace StockSharp.Studio.Core.Commands
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public class AddStrategyInfoCommand : BaseStudioCommand
|
|
{
|
|
public StrategyInfo Info { get; private set; }
|
|
|
|
public IEnumerable<StrategyInfoTypes> Types { get; set; }
|
|
|
|
public AddStrategyInfoCommand(StrategyInfo info)
|
|
{
|
|
Info = info;
|
|
}
|
|
|
|
public AddStrategyInfoCommand(params StrategyInfoTypes[] types)
|
|
{
|
|
if (types == null)
|
|
throw new ArgumentNullException("types");
|
|
|
|
Types = types;
|
|
}
|
|
}
|
|
} |