- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RegisteringDomainObjectDelegateProviderWithTypeAndAction (0.35 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensions.kt
*/ fun <T : Any, C : PolymorphicDomainObjectContainer<T>, U : T> C.registering( type: KClass<U>, action: U.() -> Unit ): RegisteringDomainObjectDelegateProviderWithTypeAndAction<out C, U> = RegisteringDomainObjectDelegateProviderWithTypeAndAction.of(this, type, action) /** * Registers an element and provides a delegate with the resulting [NamedDomainObjectProvider]. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 19 22:09:44 UTC 2024 - 15.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/TaskContainerExtensions.kt
) /** * Registers a task of the given type that gets configured with the given action and provides a delegate with the resulting [TaskProvider]. */ operator fun <U : Task> RegisteringDomainObjectDelegateProviderWithTypeAndAction<out TaskContainer, U>.provideDelegate( receiver: Any?, property: KProperty<*> ) = ExistingDomainObjectDelegate.of( delegateProvider.register(property.name, type.java, action) )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 19 22:09:44 UTC 2024 - 9.3K bytes - Viewed (0)