File tree Expand file tree Collapse file tree
Samples/05_Chart/01_Chart Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 <PackageReference Include =" Ecng.StringSearch" Version =" $(EcngVer)" />
1111 <PackageReference Include =" Ecng.Compilation" Version =" $(EcngVer)" />
1212 <PackageReference Include =" Ecng.MathLight" Version =" $(EcngVer)" />
13-
13+ <PackageReference Include =" Ecng.Linq" Version =" $(EcngVer)" />
14+
1415 <PackageReference Include =" GeneticSharp" Version =" $(GeneticSharpVer)" />
1516 </ItemGroup >
1617 <ItemGroup >
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ namespace StockSharp.Algo.Storages;
44using System . Runtime . CompilerServices ;
55
66using Ecng . Reflection ;
7+ using Ecng . Linq ;
78
89using StockSharp . Algo . Storages . Binary ;
910
@@ -758,6 +759,13 @@ private bool TryGetIndex(out Index index)
758759 }
759760 }
760761
762+ /// <summary>
763+ /// Available securities.
764+ /// </summary>
765+ [ Obsolete ( "Use GetAvailableSecuritiesAsync instead." ) ]
766+ public IEnumerable < SecurityId > AvailableSecurities
767+ => AsyncHelper . Run ( ( ) => GetAvailableSecuritiesAsync ( default ) . ToArrayAsync2 ( default ) ) ;
768+
761769 /// <inheritdoc />
762770 public override async IAsyncEnumerable < SecurityId > GetAvailableSecuritiesAsync ( [ EnumeratorCancellation ] CancellationToken cancellationToken )
763771 {
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <Import Project =" ..\..\common_samples_netwindows.props" />
33 <ItemGroup >
4- <PackageReference Include =" Ecng.Linq" Version =" $(EcngVer)" />
54 <PackageReference Include =" Ecng.Compilation.Roslyn" Version =" $(EcngVer)" />
65
76 <PackageReference Include =" StockSharp.Xaml.Charting" Version =" $(StockSharpVer)" />
Original file line number Diff line number Diff line change 44 <ProjectReference Include =" ..\..\..\..\StockSharpApps\Xaml.Charting\Xaml.Charting.csproj" />
55 </ItemGroup >
66 <ItemGroup >
7- <PackageReference Include =" Ecng.Linq" Version =" $(EcngVer)" />
87 <PackageReference Include =" Ecng.Compilation.Roslyn" Version =" $(EcngVer)" />
98 <PackageReference Include =" StockSharp.Samples.HistoryData" Version =" $(StockSharpVer)" />
109 </ItemGroup >
Original file line number Diff line number Diff line change 22 <Import Project =" ..\common_target_tests.props" />
33 <ItemGroup >
44 <PackageReference Include =" Moq" Version =" $(MoqVer)" />
5- <PackageReference Include =" Ecng.Linq" Version =" $(EcngVer)" />
65 <PackageReference Include =" System.Drawing.Common" Version =" $(MsExtensionsVer)" />
76 </ItemGroup >
87 <ItemGroup >
You can’t perform that action at this time.
0 commit comments