[JavaScript]
public class Uploaddialogtemplate
{
...
public Uploaddialogtemplate meridConv(Var<CheckedInput<int>> x) { holes.Add(TemplateHole.NewVarInt("meridconv", x)); return this; }
public Uploaddialogtemplate meridConv(Var<double> x) { holes.Add(TemplateHole.NewVardoubleUnchecked("meridconv", x)); return this; }
public Uploaddialogtemplate meridConv(Var<CheckedInput<double>> x) { holes.Add(TemplateHole.NewVardouble("meridconv", x)); return this; }
...
}
Compilation Errors:
CS0246 The type or namespace name 'CheckedInput<>' could not be found (are you missing a using directive or an assembly reference?)
CS0117 'TemplateHole' does not contain a definition for 'NewVardoubleUnchecked'
CS0117 'TemplateHole' does not contain a definition for 'NewVardouble'
When adding following tag to template file Websharper generates cs-file with compilation errors.
Compilation Errors: