# ExistingDomainObjectDelegateProvider

class ExistingDomainObjectDelegateProvider<T>(source)

Holds the delegate provider for the `existing` property delegate with the purpose of providing specialized implementations for the `provideDelegate` operator based on the static type of the provider.

## Types

Companion
Link copied to clipboard
object Companion

## Functions

provideDelegate
Link copied to clipboard
operator fun ExistingDomainObjectDelegateProvider<out ERROR CLASS: Symbol not found for TaskContainer>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<ERROR CLASS: Cannot infer argument for type parameter T>

Provides a TaskProvider delegate for the task named after the property.

operator fun <T : Any, C : ERROR CLASS: Symbol not found for NamedDomainObjectCollection<T>> ExistingDomainObjectDelegateProvider<C>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<ERROR CLASS: Cannot infer argument for type parameter T>

Provides access to the NamedDomainObjectProvider for the element of the given property name from the container via a delegated property.