public override Key CreateKey(string name) { var key = new KeyStub(name); keys.Add(name, key); return(key); }
public override Key CreateSubkey(string name) { var key = new KeyStub(name); // I'm not familiar with the behaviour of adding two sub keys with the same name, // so just fail in that case. subKeys.Add(name, key); return(key); }
public void SetUp() { const string keyName = "parentKey"; keyStub = new KeyStub(keyName); }