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