ProjectLoadSettings ProjectLoadSettings ProjectLoadSettings ProjectLoadSettings Enum

定义

用于控制项目加载的标志。Flags for controlling the project load.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class ProjectLoadSettings
[System.Flags]
public enum ProjectLoadSettings
type ProjectLoadSettings = 
Public Enum ProjectLoadSettings
继承
ProjectLoadSettingsProjectLoadSettingsProjectLoadSettingsProjectLoadSettings
属性

字段

Default Default Default Default 0

正常加载。Normal load. 这是默认设置。This is the default.

IgnoreMissingImports IgnoreMissingImports IgnoreMissingImports IgnoreMissingImports 1

计算项目时忽略不存在的目标文件。Ignore nonexistent targets files when evaluating the project.

RecordDuplicateButNotCircularImports RecordDuplicateButNotCircularImports RecordDuplicateButNotCircularImports RecordDuplicateButNotCircularImports 2

指示应该记录导入(包括 ImportsIncludingDuplicates 属性上的重复导入,但不包括循环导入)Indicates that imports including duplicate, but not circular, imports on the ImportsIncludingDuplicates property should be recorded

RejectCircularImports RejectCircularImports RejectCircularImports RejectCircularImports 4

指示如检测到任何循环导入,将引发异常Indicates that an exception will be thrown if any circular imports are detected

注解

这是一个 "标志" 枚举, 允许以附加的、不间断的方式添加将来的设置。This is a "flags" enum, allowing future settings to be added in an additive, non breaking fashion.

适用于