Exemplo n.º 1
0
        public override object Clone()
        {
            TrDosImage image = new TrDosImage();

            image.Data = new byte[Data.Length];
            Data.CopyTo(image.Data, 0);
            image.Sectors = new SectorProcessResult[Sectors.Length];
            Sectors.CopyTo(image.Sectors, 0);
            image.Name = Name;
            if (Files != null)
            {
                image.Files = new MList <FileData>(Files, true, true);
            }
            image.Title               = Title;
            image.Free8Sector         = Free8Sector;
            image.FileCount8Sector    = FileCount8Sector;
            image.DiskType            = DiskType;
            image.DeletedFiles8Sector = DeletedFiles8Sector;
            image.FileName            = FileName;
            return(image);
        }