SVGBuilderExtensions.AddBuilder

SVGBuilderExtensions.AddBuilder<TBuilder,TElementBuilder> method

Adds an existing SVG element builder to the current SVG element builder. This method is used to include a predefined SVG element builder into the current builder.

public static TBuilder AddBuilder<TBuilder, TElementBuilder>(this TBuilder builder, 
    TElementBuilder elementBuilder)
    where TBuilder : ISVGElementBuilder
    where TElementBuilder : ISVGElementBuilder
ParameterDescription
TBuilderThe type of the SVG element builder.
TElementBuilderThe type of the SVG element builder to be configured. TElementBuilder must implement ISVGElementBuilder.
builderThe SVG element builder to which the other element builder is added.
elementBuilderThe SVG element builder to be added.

Return Value

The original SVG element builder for method chaining.

See Also