# ExistingDomainObjectDelegateProviderWithAction

class ExistingDomainObjectDelegateProviderWithAction<C, T>

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 <T : Any, C : NamedDomainObjectCollection<T>> ExistingDomainObjectDelegateProviderWithAction<C, T>.provideDelegate(receiver: Any?, property: KProperty<*>): <Error class: unknown class>

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

operator fun ExistingDomainObjectDelegateProviderWithAction<out TaskContainer, Task>.provideDelegate(receiver: Any?, property: KProperty<*>): <Error class: unknown class>

Provides a TaskProvider delegate for the task named after the property after configuring it with the given action.