Changeset 2440 for branches/eraser6/pluginsRewrite/Eraser.Plugins/Registrars/ErasureMethodRegistrar.cs
- Timestamp:
- 3/10/2012 1:35:11 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/pluginsRewrite/Eraser.Plugins/Registrars/ErasureMethodRegistrar.cs
r2358 r2440 38 38 /// do not have run-time equivalents; they all are compile-time. 39 39 /// </summary> 40 public class ErasureMethodRegistrar : Registrar< ErasureMethod>40 public class ErasureMethodRegistrar : Registrar<IErasureMethod> 41 41 { 42 42 #region Default Erasure method 43 private class DefaultMethod : ErasureMethod43 private class DefaultMethod : IErasureMethod 44 44 { 45 45 public DefaultMethod() … … 68 68 } 69 69 70 public override void Erase(Stream strm, long erasureLength, Prng prng,71 ErasureMethod.ErasureMethodProgressFunction callback)70 public override void Erase(Stream strm, long erasureLength, IPrng prng, 71 IErasureMethod.ErasureMethodProgressFunction callback) 72 72 { 73 73 throw new InvalidOperationException("The DefaultMethod class should never " + … … 82 82 /// </summary> 83 83 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")] 84 public static readonly ErasureMethod Default = new DefaultMethod();84 public static readonly IErasureMethod Default = new DefaultMethod(); 85 85 #endregion 86 86 }
Note: See TracChangeset
for help on using the changeset viewer.
