Assembly: OpenTD.dll Utility methods for working with doubles.
Inheritance
object ← StringUtilityInherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()Methods
AppendToFilename(string, string)
Appends a string to a pathname, without changing the extension.Parameters
path string
The input path.
append string
The string to append at the end, but before the extension.
Returns
string System.String.AppendToStringWithDelimiter(string, string, string)
Appends a string to a string with a delimiter. If the original string is empty or whitespace, just returns the append string.Parameters
input string
The input string.
append string
The append string.
delimiter string
The delimiter.
Returns
string System.String.Exceptions
OpenTDException Input string is null. or Append string is null. or Delimiter string is null.GetHash(string)
Gets a string representing the integer hash the CLR generates for the input string.Parameters
input string
The input string.
Returns
string System.String.GetRecursiveMessage(Exception)
Recursively walks through successive inner exceptions to generate a single exception message.Parameters
ex Exception
The exception.
Returns
string System.String.GetRecursiveStackTrace(Exception)
Recursively walks through successive inner exceptions to generate a single stack trace.Parameters
ex Exception
The ex.