[Extension()] public static string ExportQueryResult( IQueryExecutionResult queryExecutionResult, QueryResultExportDocumentKind exportDocumentKind, QueryResultExportFlags flags, IQuery query, IDebtFormatter debtFormatter, string descriptionString )
Parameters
- queryExecutionResult
- This result to export.
- exportDocumentKind
- The kind of document that will contain the exported result.
- flags
- Can be set to determine the query result export properties.
- query
- Optional: null or the original IQuery object to refine the exported result with information like if it's a critical rule or not.
- debtFormatter
- Optional: null or can be set to format technical-debt values to human-readable object, like man-months string or money amount.
- descriptionString
- Optional: null or can be set to prefix the result with a description string.
Return Value
The document content formatted as a string.