Changeset 2444


Ignore:
Timestamp:
3/12/2012 4:06:20 AM (2 years ago)
Author:
lowjoel
Message:

Remainder of the changes made to only include interfaces in Eraser.Plugins.

Location:
branches/eraser6/pluginsRewrite/Eraser.Plugins/Registrars
Files:
2 edited

Legend:

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

    r2443 r2444  
    3535    public class EntropySourceRegistrar : Registrar<IEntropySource> 
    3636    { 
    37     }; 
     37    } 
    3838} 
  • branches/eraser6/pluginsRewrite/Eraser.Plugins/Registrars/ErasureMethodRegistrar.cs

    r2440 r2444  
    4747            } 
    4848 
    49             public override string Name 
     49            public override string ToString() 
     50            { 
     51                return Name; 
     52            } 
     53 
     54            public string Name 
    5055            { 
    5156                get { return S._("(default)"); } 
    5257            } 
    5358 
    54             public override int Passes 
     59            public int Passes 
    5560            { 
    5661                get { return 0; } 
    5762            } 
    5863 
    59             public override Guid Guid 
     64            public Guid Guid 
    6065            { 
    6166                get { return Guid.Empty; } 
    6267            } 
    6368 
    64             public override long CalculateEraseDataSize(ICollection<StreamInfo> paths, long targetSize) 
     69            public long CalculateEraseDataSize(ICollection<StreamInfo> paths, long targetSize) 
    6570            { 
    6671                throw new InvalidOperationException("The DefaultMethod class should never " + 
     
    6873            } 
    6974 
    70             public override void Erase(Stream strm, long erasureLength, IPrng prng, 
    71                 IErasureMethod.ErasureMethodProgressFunction callback) 
     75            public void Erase(Stream strm, long erasureLength, IPrng prng, 
     76                ErasureMethodProgressFunction callback) 
    7277            { 
    7378                throw new InvalidOperationException("The DefaultMethod class should never " + 
Note: See TracChangeset for help on using the changeset viewer.