private static ParameterKey FindOrCreateResourceKey <T>(string name) { return(ParameterKeys.FindByName(name) ?? ParameterKeys.NewObject <T>(default(T), name)); }