public DifferencingDiskBlockFactory(VhdFile vhdFile)
     : base(vhdFile)
 {
     this.bitMapFactory = new BitMapFactory(vhdFile);
     this.sectorFactory = new SectorFactory(vhdFile, this);
     this.parentBlockFactory = vhdFile.Parent.DiskType != DiskType.Fixed ? vhdFile.Parent.GetBlockFactory() : new FixedDiskBlockFactory(vhdFile.Parent, this.GetBlockSize());
 }
Exemple #2
0
 public DifferencingDiskBlockFactory(VhdFile vhdFile) : base(vhdFile)
 {
     this.bitMapFactory      = new BitMapFactory(vhdFile);
     this.sectorFactory      = new SectorFactory(vhdFile, this);
     this.parentBlockFactory = vhdFile.Parent.DiskType != DiskType.Fixed ? vhdFile.Parent.GetBlockFactory() : new FixedDiskBlockFactory(vhdFile.Parent, this.GetBlockSize());
 }