Inheritance: IRegistrationKey
Beispiel #1
0
        private static IRegistrationKey MakeKey(string name, Type type)
        {
            IRegistrationKey key;

            if (name == null)
            {
                key = new UnNamedRegistrationKey(type);
            }
            else
            {
                key = new NamedRegistrationKey(name, type);
            }
            return(key);
        }
Beispiel #2
0
 private static IRegistrationKey MakeKey(string name, Type type)
 {
     IRegistrationKey key;
     if (name == null)
         key = new UnNamedRegistrationKey(type);
     else
         key = new NamedRegistrationKey(name, type);
     return key;
 }