aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Document
ModeNameSize
-rw-r--r--ChangeTrackingCheckpoint.cs5713logstatsplain
-rw-r--r--DocumentChangeEventArgs.cs3990logstatsplain
-rw-r--r--DocumentChangeOperation.cs<
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.MachineStudio.Technician.TechItems;
using Tango.Serialization;

namespace Tango.MachineStudio.Technician.Project
{
    public class MachineTechViewProject
    {
        public List<TechItem> Items { get; set; }

        public MachineTechViewProject()
        {
            Items = new List<TechItem>();
        }

        public void Save(String fileName)
        {
            XmlDataSerializer serializer = new XmlDataSerializer();
            serializer.SerializeToFile(this, fileName);
        }

        public static MachineTechViewProject Load(String fileName)
        {
            XmlDataSerializer serializer = new XmlDataSerializer();
            return serializer.DeserializeFromFile<MachineTechViewProject>(fileName);
        }
    }
}
69f2cbea9f97442b0cd4d4dc324'>plain -rw-r--r--TextAnchorNode.cs2258logstatsplain -rw-r--r--TextAnchorTree.cs24172logstatsplain -rw-r--r--TextDocument.cs35191logstatsplain -rw-r--r--TextDocumentWeakEventManager.cs4886logstatsplain -rw-r--r--TextLocation.cs3764logstatsplain -rw-r--r--TextSegment.cs7638logstatsplain -rw-r--r--TextSegmentCollection.cs29939logstatsplain -rw-r--r--TextUtilities.cs13448logstatsplain -rw-r--r--UndoOperationGroup.cs1463logstatsplain -rw-r--r--UndoStack.cs13861logstatsplain -rw-r--r--WeakLineTracker.cs2613logstatsplain