provide Delegate
open operator override fun provideDelegate(thisRef: Arguments, property: KProperty<*>): ReadOnlyProperty<Arguments, Boolean>(source)
Provides the property delegate implementation for domain options. This method is called automatically by Kotlin's property delegation system. It registers the domain with the Arguments instance and returns a delegate that indicates whether this domain is currently active/selected.
Return
A ReadOnlyProperty that returns true if this domain is active, false otherwise
Parameters
this Ref
The Arguments instance this domain belongs to
property
The property this delegate is assigned to