Пример #1
0
        public object Clone()
        {
            WheelElements clone = new WheelElements
            {
                Editor = Editor
            };

            clone.Wheels       = Wheels.Select(wheel => wheel.Clone(clone)).ToList();
            clone.StartupWheel = StartupWheel is null ? null : clone.Wheels[Wheels.IndexOf(StartupWheel)];
            return(clone);
        }