# 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.

## Types

Companion
Link copied to clipboard
object Companion

## Functions

provideDelegate
Link copied to clipboard
operator fun provideDelegate(thisRef: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K