Сериализация (xml) класса Security
Добрый день
Имею Quik Lua коннектор.
Примерно 1 - 1,5 года назад сериализация класса Security проходила успешно.
Провел сериализацию сегодня и получил 8 ошибок:
1 InvalidOperationException: There was an error reflecting property 'Board'.
2 InvalidOperationException: There was an error reflecting type 'StockSharp.BusinessEntities.ExchangeBoard'.
3 InvalidOperationException: There was an error reflecting property 'WorkingTime'.
4 InvalidOperationException: There was an error reflecting type 'StockSharp.Messages.WorkingTime'.
5 InvalidOperationException: There was an error reflecting property 'Periods'.
6 InvalidOperationException: There was an error reflecting type 'StockSharp.Messages.WorkingTimePeriod'.
7 InvalidOperationException: Cannot serialize member 'StockSharp.Messages.WorkingTimePeriod.SpecialDays' of type 'System.Collections.Generic.IDictionary`2[[System.DayOfWeek, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Ecng.ComponentModel.Range`1[[System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]][], Ecng.ComponentModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b10e79ed0227b515]]', see inner exception for more details.
8 NotSupportedException: Cannot serialize member StockSharp.Messages.WorkingTimePeriod.SpecialDays of type System.Collections.Generic.IDictionary`2[[System.DayOfWeek, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Ecng.ComponentModel.Range`1[[System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]][], Ecng.ComponentModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b10e79ed0227b515]] because it is an interface.
Это баг или невозможность сериализации реализовано с определенной целью?