fun interface PropertyDelegateProvider<in T, out D>
Base interface that can be used for implementing property delegate providers.
This is provided only for convenience; you don't have to extend this interface as long as your delegate provider has a method with the same signature.
T
- the type of object which owns the delegated property.
D
- the type of property delegates this provider provides.
Returns the delegate of the property for the given object.
abstract operator fun provideDelegate( thisRef: T, property: KProperty<*> ): D
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.properties/-property-delegate-provider/index.html