/// <summary> /// Dispose of this group by disposing of it's storage implementation /// </summary> public void Dispose() { if ( storageImpl != null ) { storageImpl.Dispose(); storageImpl = null; } }
/// <summary> /// Construct a settings group based on a storage implementation. /// </summary> /// <param name="name">Name of the group</param> /// <param name="storageImpl">Storage for the group settings</param> public SettingsGroup( string name, SettingsStorage storageImpl ) { this.name = name; this.storageImpl = storageImpl; }
/// <summary> /// Construct a settings group based on a parent group that contains it. /// </summary> /// <param name="name">Name of the group</param> /// <param name="parentSettings">Containing group</param> public SettingsGroup( string name, SettingsGroup parentSettings ) { this.name = name; this.parentSettings = parentSettings; this.storageImpl = parentSettings.Storage.MakeChildStorage( name ); }
/// <summary> /// Construct a SettingsStorage under a parent storage /// </summary> /// <param name="storageName">Name of the storage</param> /// <param name="parentStorage">The parent which contains the new storage</param> public SettingsStorage( string storageName, SettingsStorage parentStorage ) { this.storageName = storageName; this.parentStorage = parentStorage; }
public OptionSettings( SettingsStorage storage ) : base( NAME, storage ) { }
public NUnitGuiSettings( SettingsStorage storage ) : base( NAME, storage ) { }
public FormSettings( SettingsStorage storage ) : base( NAME, storage ) { }
/// <summary> /// Construct a settings group based on a parent group that contains it. /// </summary> /// <param name="name">Name of the group</param> /// <param name="parentSettings">Containing group</param> public SettingsGroup(string name, SettingsGroup parentSettings) { this.name = name; this.parentSettings = parentSettings; this.storageImpl = parentSettings.Storage.MakeChildStorage(name); }
public NUnitGuiSettings(SettingsStorage storage) : base(NAME, storage) { }
/// <summary> /// Construct a settings group based on a storage implementation. /// </summary> /// <param name="name">Name of the group</param> /// <param name="storageImpl">Storage for the group settings</param> public SettingsGroup(string name, SettingsStorage storageImpl) { this.name = name; this.storageImpl = storageImpl; }
public RecentProjectSettings( SettingsStorage storage ) : base( NAME, storage ) { }
public FormSettings(SettingsStorage storage) : base(NAME, storage) { }
/// <summary> /// Construct a SettingsStorage under a parent storage /// </summary> /// <param name="storageName">Name of the storage</param> /// <param name="parentStorage">The parent which contains the new storage</param> public SettingsStorage(string storageName, SettingsStorage parentStorage) { this.storageName = storageName; this.parentStorage = parentStorage; }
public RecentFileSettings( string name, SettingsStorage storage ) : base( name, storage ) { LoadFiles(); }