public ObjectDefinitionBuilder SetFactoryMethod(string factoryMethod) { objectDefinition.FactoryMethodName = factoryMethod; return this; }