@@ -312,6 +312,9 @@ export class StringBuilder {
312312 return this . Values . join ( String . empty ) ;
313313 }
314314
315+ /**
316+ * @deprecated The method should not be used, and will be removed in future versions! Use `toString()` instead.
317+ */
315318 public ToString ( ) {
316319 return this . toString ( ) ;
317320 }
@@ -320,6 +323,9 @@ export class StringBuilder {
320323 this . Values . push ( value ) ;
321324 }
322325
326+ /**
327+ * @deprecated The method should not be used, and will be removed in future versions! Use `append()` instead.
328+ */
323329 public Append ( value : string ) {
324330 this . append ( value ) ;
325331 }
@@ -328,6 +334,9 @@ export class StringBuilder {
328334 this . Values . push ( EOL + value ) ;
329335 }
330336
337+ /**
338+ * @deprecated The method should not be used, and will be removed in future versions! Use `appendLine()` instead.
339+ */
331340 public AppendLine ( value : string ) {
332341 this . appendLine ( value ) ;
333342 }
@@ -336,6 +345,9 @@ export class StringBuilder {
336345 this . Values . push ( String . format ( format , ...args ) ) ;
337346 }
338347
348+ /**
349+ * @deprecated The method should not be used, and will be removed in future versions! Use `appendFormat()` instead.
350+ */
339351 public AppendFormat ( format : string , ...args : any [ ] ) {
340352 this . appendFormat ( format , ...args ) ;
341353 }
@@ -344,6 +356,9 @@ export class StringBuilder {
344356 this . Values . push ( EOL + String . format ( format , ...args ) ) ;
345357 }
346358
359+ /**
360+ * @deprecated The method should not be used, and will be removed in future versions! Use `appendLineFormat()` instead.
361+ */
347362 public AppendLineFormat ( format : string , ...args : any [ ] ) {
348363 return this . appendLineFormat ( format , ...args ) ;
349364 }
@@ -352,6 +367,9 @@ export class StringBuilder {
352367 this . Values = [ ] ;
353368 }
354369
370+ /**
371+ * @deprecated The method should not be used, and will be removed in future versions! Use `clear()` instead.
372+ */
355373 public Clear ( ) {
356374 this . clear ( ) ;
357375 }
0 commit comments