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); }
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; }