/// <summary> /// Builds a log message based on key-value pairs. /// </summary> /// <param name="operation">The operation.</param> /// <param name="status">The status of the operation.</param> /// <returns>The log message.</returns> public static string BuildKvpMessage(Operation operation, OperationStatus status) { string message = $"Operation={operation.GetDisplayName()}," + $"OperationStatus={status.GetDisplayName()}"; return(message); }