Changeset 2444
- Timestamp:
- 3/12/2012 4:06:20 AM (14 months ago)
- Location:
- branches/eraser6/pluginsRewrite/Eraser.Plugins/Registrars
- Files:
-
- 2 edited
-
EntropySourceRegistrar.cs (modified) (1 diff)
-
ErasureMethodRegistrar.cs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/pluginsRewrite/Eraser.Plugins/Registrars/EntropySourceRegistrar.cs
r2443 r2444 35 35 public class EntropySourceRegistrar : Registrar<IEntropySource> 36 36 { 37 } ;37 } 38 38 } -
branches/eraser6/pluginsRewrite/Eraser.Plugins/Registrars/ErasureMethodRegistrar.cs
r2440 r2444 47 47 } 48 48 49 public override string Name 49 public override string ToString() 50 { 51 return Name; 52 } 53 54 public string Name 50 55 { 51 56 get { return S._("(default)"); } 52 57 } 53 58 54 public overrideint Passes59 public int Passes 55 60 { 56 61 get { return 0; } 57 62 } 58 63 59 public overrideGuid Guid64 public Guid Guid 60 65 { 61 66 get { return Guid.Empty; } 62 67 } 63 68 64 public overridelong CalculateEraseDataSize(ICollection<StreamInfo> paths, long targetSize)69 public long CalculateEraseDataSize(ICollection<StreamInfo> paths, long targetSize) 65 70 { 66 71 throw new InvalidOperationException("The DefaultMethod class should never " + … … 68 73 } 69 74 70 public overridevoid Erase(Stream strm, long erasureLength, IPrng prng,71 IErasureMethod.ErasureMethodProgressFunction callback)75 public void Erase(Stream strm, long erasureLength, IPrng prng, 76 ErasureMethodProgressFunction callback) 72 77 { 73 78 throw new InvalidOperationException("The DefaultMethod class should never " +
Note: See TracChangeset
for help on using the changeset viewer.
