# RegisteringDomainObjectDelegateProviderWithType

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

Holds the delegate provider and expected element type 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 <U : ERROR CLASS: Symbol not found for Task> RegisteringDomainObjectDelegateProviderWithType<out ERROR CLASS: Symbol not found for TaskContainer, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<ERROR CLASS: Cannot infer argument for type parameter T>

Registers a task of the given type and provides a delegate with the resulting TaskProvider.

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

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