Ignore:
Timestamp:
3/10/2012 1:35:11 PM (3 years ago)
Author:
lowjoel
Message:

Use the new identifier names defined in Eraser.Plugins.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/pluginsRewrite/Eraser.Plugins/Registrars/ErasureMethodRegistrar.cs

    r2358 r2440  
    3838    /// do not have run-time equivalents; they all are compile-time. 
    3939    /// </summary> 
    40     public class ErasureMethodRegistrar : Registrar<ErasureMethod> 
     40    public class ErasureMethodRegistrar : Registrar<IErasureMethod> 
    4141    { 
    4242        #region Default Erasure method 
    43         private class DefaultMethod : ErasureMethod 
     43        private class DefaultMethod : IErasureMethod 
    4444        { 
    4545            public DefaultMethod() 
     
    6868            } 
    6969 
    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) 
    7272            { 
    7373                throw new InvalidOperationException("The DefaultMethod class should never " + 
     
    8282        /// </summary> 
    8383        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")] 
    84         public static readonly ErasureMethod Default = new DefaultMethod(); 
     84        public static readonly IErasureMethod Default = new DefaultMethod(); 
    8585        #endregion 
    8686    } 
Note: See TracChangeset for help on using the changeset viewer.