setValue() public method

public setValue ( string key, string value ) : bool
key string
value string
return bool
Exemplo n.º 1
0
 /// <summary>
 /// Constructs a <code>Master</code> object by initializing the
 /// <code>ConfigReader</code> and the <code>UIController</code>.
 /// </summary>
 public Master()
 {
     _configReader = new ConfigReader();
     bool firstUse = _configReader.getValue("First Use").Equals("True");
     if (firstUse) {
         _configReader.setValue("First Use", "False");
     }
     new UIController(this, firstUse);
 }