# PolymorphicDomainObjectContainerGettingDelegateProvider

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

### Deprecated

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

A property delegate that gets elements of the given type from the given container and applies the given configuration.

#### Since

4.1

## Types

Companion
Link copied to clipboard
object Companion

## Functions

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