dsl
fun <SubBuilder : SuperBuilder, SubBuilt : SuperBuilt> dsl(factory: DslFactory<SubBuilder, SubBuilt>, block: SubBuilder.() -> Unit)
Configure a builder for this property value.
Parameters
SubBuilder
The subtype of the SuperBuilder type which describes the specific type being used for the DSL block.
SubBuilt
The subtype of the SuperBuilt type which describes the specific type of instance which will be built.
factory
The factory which can turn a builder into a built instance. The specific SubBuilder type of this factory will be used in the DSL block.
block
A DSL block which is applied to the builder instance before being built.