provideDelegate

open operator override fun provideDelegate(thisRef: Arguments, property: KProperty<*>): ReadOnlyProperty<Arguments, C>(source)

Provides the property delegate implementation for collection options. This method is called automatically by Kotlin's property delegation system. It registers the option with the Arguments instance and returns a delegate that provides access to the parsed collection value.

Return

A ReadOnlyProperty that provides access to the parsed collection

Parameters

thisRef

The Arguments instance this option belongs to

property

The property this delegate is assigned to