MigrationCommonModelFormatter.IntendAndConCat(String, Object, Int32, String) Method

Definition

The API is used Concats the prefix and string representation of the object specified, seperated by delimiter with proper indentation b/w strings

public string IntendAndConCat (string prefix, object suffix, int maxLength = -1, string delimiter = default);
member this.IntendAndConCat : string * obj * int * string -> string
Public Function IntendAndConCat (prefix As String, suffix As Object, Optional maxLength As Integer = -1, Optional delimiter As String = Nothing) As String

Parameters

prefix
System.String

name of suffix object

suffix
System.Object

object which needs to converted to string

maxLength
System.Int32

maxlength to which prefix should be indentented

delimiter
System.String

delimiter between the prefix and the object suffix

Returns

System.String

string formed by concatenating prefix and suffix

Applies to