Dela via


MigrationCommonModelFormatter.IntendAndConCat 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
String

name of suffix object

suffix
Object

object which needs to converted to string

maxLength
Int32

maxlength to which prefix should be indentented

delimiter
String

delimiter between the prefix and the object suffix

Returns

string formed by concatenating prefix and suffix

Applies to