Changeset 1197


Ignore:
Timestamp:
9/28/2009 7:24:14 AM (5 years ago)
Author:
lowjoel
Message:

Use ErasureMethodProgressFunction? instead of EraserMethodProgressFunction? for consistency.

Location:
trunk/eraser6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser.DefaultPlugins/EraseFirstLast16KB.cs

    r1176 r1197  
    9696 
    9797        public override void Erase(Stream strm, long erasureLength, Prng prng, 
    98             EraserMethodProgressFunction callback) 
     98            ErasureMethodProgressFunction callback) 
    9999        { 
    100100            //If we have no default or we are the default then throw an exception 
  • trunk/eraser6/Eraser.Manager/Method.cs

    r1193 r1197  
    100100        /// <param name="callback">The progress callback function.</param> 
    101101        public abstract void Erase(Stream stream, long erasureLength, Prng prng, 
    102             EraserMethodProgressFunction callback); 
     102            ErasureMethodProgressFunction callback); 
    103103 
    104104        /// <summary> 
     
    174174    /// <param name="currentPass">The current pass number. The total number 
    175175    /// of passes can be found from the Passes property.</param> 
    176     public delegate void EraserMethodProgressFunction(long lastWritten, long totalData, 
     176    public delegate void ErasureMethodProgressFunction(long lastWritten, long totalData, 
    177177        int currentPass); 
    178178 
     
    246246        /// <param name="prng">The PRNG source for random data.</param> 
    247247        /// <param name="callback">The progress callback function.</param> 
    248         public virtual void EraseUnusedSpace(Stream stream, Prng prng, EraserMethodProgressFunction callback) 
     248        public virtual void EraseUnusedSpace(Stream stream, Prng prng, ErasureMethodProgressFunction callback) 
    249249        { 
    250250            Erase(stream, long.MaxValue, prng, callback); 
     
    292292 
    293293        public override void Erase(Stream stream, long erasureLength, Prng prng, 
    294             EraserMethodProgressFunction callback) 
     294            ErasureMethodProgressFunction callback) 
    295295        { 
    296296            //Randomize the order of the passes 
     
    383383 
    384384            public override void Erase(Stream strm, long erasureLength, Prng prng, 
    385                 EraserMethodProgressFunction callback) 
     385                ErasureMethodProgressFunction callback) 
    386386            { 
    387387                throw new InvalidOperationException(S._("The DefaultMethod class should never " + 
Note: See TracChangeset for help on using the changeset viewer.