private Serialization.Rendelesek ReadInputFromFile(string FileName)
        {
            Serialization.DataSerializer dataSerializer          = new Serialization.DataSerializer();
            Serialization.Rendelesek     ReadSerializedInputData = dataSerializer.ReadXMLDocument(FileName);

            return(ReadSerializedInputData);
        }
        private Rendelesek TransformRendelesDataFromSerializedToNonSerialized(string FileName)
        {
            Rendelesek rendelesek = new Rendelesek();

            Serialization.Rendelesek serializedRendelesek = ReadInputFromFile(FileName);
            TransformOrders(serializedRendelesek, rendelesek);

            return(rendelesek);
        }
        private void TransformOrders(Serialization.Rendelesek TransformFrom, Rendelesek TransformTo)
        {
            List <Serialization.Rendeles> .Enumerator SerRenListEnumerator = TransformFrom.GetEnumerator();

            while (SerRenListEnumerator.MoveNext())
            {
                Serialization.Rendeles SerRendeles = SerRenListEnumerator.Current;
                Rendeles NotSerRendeles            = TransformOrder(SerRendeles);
                TransformTo.RendelestHozzaad(NotSerRendeles);
            }

            return;
        }