Table of Contents

Enum QueryResultExportFlags

Namespace
NDepend.CodeQuery
Assembly
NDepend.API.dll

Flags to determine a query result export operation properties.

[Flags]
public enum QueryResultExportFlags : short
Extension Methods

Fields (14)

AllowBreakLongLine = 8

Allow breaking long lines

This flag is only used internally when building the report.

DefaultForExport = UnfoldMultiItemsCell | ShowCodeQuery | RequiredForExport

Default value for QueryResultExportFlags when exporting result.

DontShowTooManyCodeRulesMatchedItems = 256

This flag is used when exporting the query result to report. It is set when ReportOptionsFlags.DontShowTooManyCodeRulesMatchedItems is set.

LinkElementToRelativeSourceFile = 128

When this flag is set, links to source file declarations in the report are paths relative to the report file location.

LinkElementToReportSourceFile = 1024

When this flag is set, links source file declarations in the report to the source files output in the report.

LinkElementToSourceFile = 64

When the source file declaration(s) of a code element has been resolved at analysis time, with this flag set it is possible to get a link to this declaration for each occurrence of the code element in the report.

None = 0

The value with no flag set.

PrefixCodeElementsName = 2

Prefix code elements with A: for assemblies, N: for namespaces, T: for types, M: for methods and F: for fields.

RequiredForExport = AllowBreakLongLine | LinkElementToSourceFile | ShowRows

Minimum set of flags required by the export feature.

ShowCodeQuery = 16

When this flag is set, the query string is shown in the result document.

ShowRows = 512

This flag is used when exporting the query result to report. It is set when IQuery.DisplayListInReport is set.

ShowStatistics = 32

When this flag is set, the query result statistics is shown after the result.

UnfoldMultiItemsCell = 1

When this flag is set, cells of the query result that contain several items, like several code elements or several issues, are unfold in the result document.

UnfoldTheFirstNItemsOnly = 4

When this flag is set with the flag UnfoldMultiItemsCell set as well, only the first 10 items are unfolded. This flag is used in when building the report to limit its size.

See Also