Share via


MigrationCommonModelFormatter Class

Definition

public class MigrationCommonModelFormatter
type MigrationCommonModelFormatter = class
Public Class MigrationCommonModelFormatter
Inheritance
MigrationCommonModelFormatter
Derived

Constructors

MigrationCommonModelFormatter()

Methods

ConcatStringList(List<String>, String)

Concats all string specified in list seperated by the specified delimiter

FormatTimeSpan(TimeSpan)

Format the timespan

GetResultMessage(String, MigrationJobStatus)

Gets Confirm migration success message to be displayed with error string obtained from service

HcsMessageInfoToString(HcsMessageInfo)

Converts HcsMessageInfo to desired String output

IntendAndConCat(String, Object, Int32, String)

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

Applies to