Changeset 186


Ignore:
Timestamp:
03/10/08 09:05:17 (7 years ago)
Author:
lowjoel
Message:

Replaced GetMethods? with GetAll?

Location:
branches/eraser6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Eraser/TaskDataSelectionForm.cs

    r181 r186  
    5454 
    5555            //And the methods list 
    56             Dictionary<Guid, ErasureMethod> methods = ErasureMethodManager.GetMethods(); 
     56            Dictionary<Guid, ErasureMethod> methods = ErasureMethodManager.GetAll(); 
    5757            this.method.Items.Add(ErasureMethodManager.Default); 
    5858            foreach (ErasureMethod method in methods.Values) 
  • branches/eraser6/Manager/Method.cs

    r181 r186  
    101101            public override void Erase(Stream strm, PRNG prng, OnProgress callback) 
    102102            { 
    103                 throw new NotImplementedException("The method or operation is not implemented."); 
     103                throw new NotImplementedException("The DefaultMethod class should never be " + 
     104                    "used and should instead be replaced before execution!"); 
    104105            } 
    105106        } 
     
    118119        /// </summary> 
    119120        /// <returns>A mutable list, with an instance of each method.</returns> 
    120         public static Dictionary<Guid, ErasureMethod> GetMethods() 
     121        public static Dictionary<Guid, ErasureMethod> GetAll() 
    121122        { 
    122123            lock (Globals.ErasureMethodManager.methods) 
Note: See TracChangeset for help on using the changeset viewer.