# RegisteringDomainObjectDelegateProviderWithAction

class RegisteringDomainObjectDelegateProviderWithAction<C, T>(source)

Holds the delegate provider for the `registering` 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 : NamedDomainObjectContainer<T>> RegisteringDomainObjectDelegateProviderWithAction<C, T>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<NamedDomainObjectProvider<T>>

Registers an element and provides a delegate with the resulting NamedDomainObjectProvider.

operator fun RegisteringDomainObjectDelegateProviderWithAction<out TaskContainer, Task>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<TaskProvider<Task>>

Registers a task that gets configured with the given action and provides a delegate with the resulting TaskProvider.