public override Key CreateKey(string name)
        {
            var key = new KeyStub(name);

            keys.Add(name, key);
            return(key);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        public void SetUp()
        {
            const string keyName = "parentKey";

            keyStub = new KeyStub(keyName);
        }