# PolymorphicDomainObjectContainerCreatingDelegateProvider

class PolymorphicDomainObjectContainerCreatingDelegateProvider<T : Any, U : T>(source)

### Deprecated

Use 'val element = create<Type>(name)' instead. See the Gradle 9.6 upgrading guide.

A property delegate that creates elements of the given type with the given configuration in the given container.

#### Since

4.10

## Types

Companion
Link copied to clipboard
object Companion

## Functions

provideDelegate
Link copied to clipboard
operator fun provideDelegate(thisRef: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<U?>