public void Serialize(string fileName)
        {
            SerializeGear serialize = new SerializeGear {
                Gears = GearCollection.ToList()
            };

            serialize.Save(fileName);
        }
示例#2
0
 public List <Gear> GetAllGears()
 {
     return(GearCollection.ToList());
 }