18 references to Write
Microsoft.ML.AutoML.SourceGenerator (18)
Template\EstimatorType.cs (18)
28
this.
Write
("\r\nnamespace ");
29
this.
Write
(this.ToStringHelper.ToStringWithCulture(NameSpace));
30
this.
Write
("\r\n{\r\n public enum ");
31
this.
Write
(this.ToStringHelper.ToStringWithCulture(ClassName));
32
this.
Write
("\r\n {\r\n");
34
this.
Write
(" ");
35
this.
Write
(this.ToStringHelper.ToStringWithCulture(e));
36
this.
Write
(",\r\n");
39
this.
Write
(" ");
40
this.
Write
(this.ToStringHelper.ToStringWithCulture(e));
41
this.
Write
(",\r\n");
43
this.
Write
(" Unknown,\r\n }\r\n\r\n public static class EstimatorTypeExtension\r\n {\r" +
47
this.
Write
(" case EstimatorType.");
48
this.
Write
(this.ToStringHelper.ToStringWithCulture(estimator));
49
this.
Write
(":\r\n");
51
this.
Write
(" return true;\r\n default:\r\n r" +
197
this.
Write
(textToAppend);
206
this.
Write
(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));