def _GenerateMapperConstructor(transformer_class_name):
    """
    Public constructor generation for the mapper.
    """
    code = [
        "\n\npublic Mapper({0} parent, DataViewSchema inputSchema) :".format(transformer_class_name),
        "\nbase(parent.Host.Register(nameof(Mapper)), inputSchema, parent)",
        "\n{\n_parent = parent;\n}"
    ]

    return "".join(code)