Exemplo n.º 1
0
        public override void SerialObject()
        {
            ConditionSerialList.Clear();
            ConditionList.ForEach(v => ConditionSerialList.Add(SerialInfo.GetSerialInfo(v)));

            PredicateSerialList.Clear();
            PredicateList.ForEach(v => PredicateSerialList.Add(SerialInfo.GetSerialInfo(v)));
        }
Exemplo n.º 2
0
        public override void SerialObject()
        {
            TestStrategySerial = SerialInfo.GetSerialInfo(TestStrategy);
            RiskPolicySerial   = SerialInfo.GetSerialInfo(RiskPolicy);
            DataSourceSerial   = SerialInfo.GetSerialInfo(CurrentDataSource);
            TradeGateSerial    = SerialInfo.GetSerialInfo(CurrentTradeGate);

            ConditionSerialList.Clear();
            ConditionList.ForEach(v => ConditionSerialList.Add(SerialInfo.GetSerialInfo(v)));
        }