Exemplo n.º 1
0
        protected void SetFixtureClass(Event source, Event targetPredicted, Event targetActual)
        {
            targetPredicted.FixtureClass = source.FixtureClass;

            if (targetActual != null)
            {
                AdoptionTargetsPredicted.Add(targetPredicted.CopyShallow());
                AdoptionTargetsActual.Add(targetActual);
            }
        }
Exemplo n.º 2
0
        void LoadAdoptionTarget(Trace trace)
        {
            if (AdoptionTargetsPredicted == null)
            {
                AdoptionTargetsPredicted = new Events();
            }
            if (AdoptionTargetsActual == null)
            {
                AdoptionTargetsActual = new Events();
            }

            foreach (Event @event in trace.AdoptionTargetsPredicted)
            {
                AdoptionTargetsPredicted.Add(@event);
            }
            foreach (Event @event in trace.AdoptionTargetsActual)
            {
                AdoptionTargetsActual.Add(@event);
            }
        }