Ignore:
Timestamp:
11/14/2008 8:20:48 AM (4 years ago)
Author:
lowjoel
Message:

Part one to fixing #32: replace the Dictionary object with the Settings object for plugin settings; The old Settings class is now the SettingsManager? class.
Also, since we are now using a generic Object, I've implemented a few helper class (XXSettings) classes to allow for the concrete setting + type to be retrieved.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/DefaultPlugins/EraseFirstLast16KB.cs

    r417 r561  
    3636        { 
    3737            //Try to retrieve the set erasure method 
    38             if (DefaultPlugin.Settings.ContainsKey("FL16Method")) 
     38            if (DefaultPlugin.Settings.FL16Method != Guid.Empty) 
    3939                method = ErasureMethodManager.GetInstance( 
    40                     (Guid)DefaultPlugin.Settings["FL16Method"]); 
     40                    DefaultPlugin.Settings.FL16Method); 
    4141            else 
    4242                try 
Note: See TracChangeset for help on using the changeset viewer.