inline Class Aggregate
inline fun <T : OptionAggregateBuilder<T>> OptionAggregateBuilderContainer<T>.inlineClassAggregate(declaredName: String, clazz: KClass<*>, crossinline block: T.(valueName: String) -> Unit)(source)
fun <T : OptionAggregateBuilder<T>> OptionAggregateBuilderContainer<T>.inlineClassAggregate(declaredName: String, clazz: KClass<*>, block: T.(valueParameter: KParameter, valueName: String) -> Unit)(source)
Declares an aggregate creating an instance of the specified inline class, which can only accept a single option.
Parameters
declared Name
Name of the declared parameter which receives the value class
clazz
The inline class type
inline fun <T : OptionAggregateBuilder<T>> OptionAggregateBuilderContainer<T>.inlineClassAggregate(declaredName: String, noinline block: T.(valueName: String) -> Unit)(source)
inline fun <T : OptionAggregateBuilder<T>> OptionAggregateBuilderContainer<T>.inlineClassAggregate(declaredName: String, noinline block: T.(valueParameter: KParameter, valueName: String) -> Unit)(source)
Declares an aggregate creating an instance of the specified inline class, which can only accept a single option.
Parameters
T
The inline class type
declared Name
Name of the declared parameter which receives the value class