19 references to Write
Microsoft.ML.AutoML.SourceGenerator (19)
Template\SweepableEstimatorFactory.cs (19)
28
this.
Write
("\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\nusing New" +
31
this.
Write
(this.ToStringHelper.ToStringWithCulture(NameSpace));
32
this.
Write
("\r\n{\r\n internal static class SweepableEstimatorFactory\r\n {\r\n");
34
this.
Write
(" public static ");
35
this.
Write
(this.ToStringHelper.ToStringWithCulture(estimator));
36
this.
Write
(" Create");
37
this.
Write
(this.ToStringHelper.ToStringWithCulture(estimator));
38
this.
Write
("(");
39
this.
Write
(this.ToStringHelper.ToStringWithCulture(tOption));
40
this.
Write
(" defaultOption, SearchSpace<");
41
this.
Write
(this.ToStringHelper.ToStringWithCulture(tOption));
42
this.
Write
("> searchSpace = null)\r\n {\r\n if(searchSpace == null){\r\n " +
44
this.
Write
(this.ToStringHelper.ToStringWithCulture(tOption));
45
this.
Write
(">(defaultOption);\r\n }\r\n\r\n return new ");
46
this.
Write
(this.ToStringHelper.ToStringWithCulture(estimator));
47
this.
Write
("(defaultOption, searchSpace);\r\n }\r\n\r\n");
49
this.
Write
(" }\r\n}\r\n\r\n");
192
this.
Write
(textToAppend);
201
this.
Write
(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));