Class StringBuilder
Allows to concat strings using fluent interface. It's similar to C# StringBuilder class Usage as follows :
ErrorString := _stringBuilder
.Clear()
.Append('Error number: ')
.Append(INT_TO_STRING(ErrorNumber))
.Append('. Message: ')
.Append(ErrorMessage)
.Append('.')
.ToString();
Inspired by Gerhard Barteling blogpost at https://www.plccoder.com/fluent-code/
Inheritance
System.Object
StringBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PlcDocu.TcoCore
Assembly: TcoCoreConnector.dll
Syntax
public abstract class StringBuilder
Constructors
| Improve this Doc View SourceStringBuilder()
Prevents creating instance of this class via public constructor
Declaration
public StringBuilder()