Inheritance: IRegistrationKey
Ejemplo n.º 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);
        }
Ejemplo n.º 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;
 }