public PropertyFormatter Property(String methodName) { Sw.Append("this."); Sw.Append(methodName); return(new PropertyFormatter(this)); }
public MethodFormatter Method(String methodName) { Sw.Append("this."); Sw.Append(methodName); Sw.Append("("); return(new MethodFormatter(this)); }
public Formatter CommentLine(String text) { if (!Sw.HasWhiteLine) { Sw.AppendLine(); } Sw.Append("// "); Sw.AppendLine(text); return(this); }
public StaticTypeFormatter StaticType(String typeName) { Sw.Append(typeName); return(new StaticTypeFormatter(this)); }
public Formatter Await() { Sw.Append("await "); return(this); }