@@ -312,6 +312,9 @@ export class StringBuilder {
312
312
return this . Values . join ( String . empty ) ;
313
313
}
314
314
315
+ /**
316
+ * @deprecated The method should not be used, and will be removed in future versions! Use `toString()` instead.
317
+ */
315
318
public ToString ( ) {
316
319
return this . toString ( ) ;
317
320
}
@@ -320,6 +323,9 @@ export class StringBuilder {
320
323
this . Values . push ( value ) ;
321
324
}
322
325
326
+ /**
327
+ * @deprecated The method should not be used, and will be removed in future versions! Use `append()` instead.
328
+ */
323
329
public Append ( value : string ) {
324
330
this . append ( value ) ;
325
331
}
@@ -328,6 +334,9 @@ export class StringBuilder {
328
334
this . Values . push ( EOL + value ) ;
329
335
}
330
336
337
+ /**
338
+ * @deprecated The method should not be used, and will be removed in future versions! Use `appendLine()` instead.
339
+ */
331
340
public AppendLine ( value : string ) {
332
341
this . appendLine ( value ) ;
333
342
}
@@ -336,6 +345,9 @@ export class StringBuilder {
336
345
this . Values . push ( String . format ( format , ...args ) ) ;
337
346
}
338
347
348
+ /**
349
+ * @deprecated The method should not be used, and will be removed in future versions! Use `appendFormat()` instead.
350
+ */
339
351
public AppendFormat ( format : string , ...args : any [ ] ) {
340
352
this . appendFormat ( format , ...args ) ;
341
353
}
@@ -344,6 +356,9 @@ export class StringBuilder {
344
356
this . Values . push ( EOL + String . format ( format , ...args ) ) ;
345
357
}
346
358
359
+ /**
360
+ * @deprecated The method should not be used, and will be removed in future versions! Use `appendLineFormat()` instead.
361
+ */
347
362
public AppendLineFormat ( format : string , ...args : any [ ] ) {
348
363
return this . appendLineFormat ( format , ...args ) ;
349
364
}
@@ -352,6 +367,9 @@ export class StringBuilder {
352
367
this . Values = [ ] ;
353
368
}
354
369
370
+ /**
371
+ * @deprecated The method should not be used, and will be removed in future versions! Use `clear()` instead.
372
+ */
355
373
public Clear ( ) {
356
374
this . clear ( ) ;
357
375
}
0 commit comments