Ejemplo n.º 1
0
        public void Copy(FlowDataCache flowDataCache)
        {
            Symptoms.Clear();
            Symptoms.AddRange(flowDataCache.Symptoms);

            Diagnoses.Clear();
            Diagnoses.AddRange(flowDataCache.Diagnoses);

            Treatments.Clear();
            Treatments.AddRange(flowDataCache.Treatments);

            DialogList.Clear();
            DialogList.AddRange(flowDataCache.DialogList);

            Variables.ValuesDictionary.Clear();
            Variables.SetValues(flowDataCache.Variables.ValuesDictionary);
        }