mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
7bd28e4357
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2304 21ef857c-d57f-4fe0-8362-d861dc6d29cd
34 lines
763 B
C#
34 lines
763 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace ProcessHacker.Common.Settings
|
|
{
|
|
public abstract class SettingsBase
|
|
{
|
|
private SettingsStore _store;
|
|
private Dictionary<string, object> _settings = new Dictionary<string, object>();
|
|
|
|
public SettingsBase(SettingsStore store)
|
|
{
|
|
_store = store;
|
|
}
|
|
|
|
public object this[string name]
|
|
{
|
|
get { return this.GetValue(name); }
|
|
set { this.SetValue(name, value); }
|
|
}
|
|
|
|
private object GetValue(string name)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
private void SetValue(string name, object value)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|