Yellicode
The extensible code generator
Adds a new transform to the pipeline.
Parameters
Name | Type | Description |
---|---|---|
transform | ModelTransform | The transform to be added. |
Performs a sequence of model transforms, where the output of each transform is the input of the next transform.
Name | Returns | Description | ||||||
---|---|---|---|---|---|---|---|---|
add(transform)ModelTransformPipeline.addXAdds a new transform to the pipeline. Parameters
Return valuevoid | void | Adds a new transform to the pipeline. | ||||||
addRange(transforms)ModelTransformPipeline.addRangeXAdds a new collection of transforms to the pipeline. Parameters
Return valuevoid | void | Adds a new collection of transforms to the pipeline. | ||||||
constructor(transforms)ModelTransformPipeline.constructorXCreates a new ModelTransformPipeline, optionally initialized with a collection of transforms. Parameters
Return valueType: ModelTransformPipeline | ModelTransformPipeline | Creates a new ModelTransformPipeline, optionally initialized with a collection of transforms. | ||||||
transform(model)ModelTransformPipeline.transformXTransforms the source model by applying the specified transforms in sequence. Parameters
Return valueType: TModel | TModel | Transforms the source model by applying the specified transforms in sequence. |