# domainObjectContainer

inline fun <T : Any> ObjectFactory. domainObjectContainer(elementType: KClass<T>): NamedDomainObjectContainer<T>(source)
inline fun <T : Any> ObjectFactory. domainObjectContainer(elementType: KClass<T>): NamedDomainObjectContainer<T>(source)
inline fun <T : Any> ObjectFactory. domainObjectContainer(elementType: KClass<T>, factory: NamedDomainObjectFactory<T>): NamedDomainObjectContainer<T>(source)
inline fun <T : Any> ObjectFactory. domainObjectContainer(elementType: KClass<T>, factory: NamedDomainObjectFactory<T>): NamedDomainObjectContainer<T>(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.model.ObjectFactory.domainObjectContainer.

#### Since

5.5

#### See also

ObjectFactory.domainObjectContainer