Class OdfValidationIssueJsonModel
- Namespace
- OdfKit.Compliance
- Assembly
- OdfKit.dll
Provides the OdfValidationIssueJsonModel API. 表示單一驗證問題的 JSON 匯出模型。
public sealed class OdfValidationIssueJsonModel
- Inheritance
-
OdfValidationIssueJsonModel
- Inherited Members
Constructors
OdfValidationIssueJsonModel(string, string, string, string?, string?, string?, string?, string, IReadOnlyDictionary<string, string?>?)
Performs odf validation issue json model. 初始化 OdfValidationIssueJsonModel 類別的新執行個體。
public OdfValidationIssueJsonModel(string severity, string ruleId, string message, string? packagePath, string? xPath, string? requiredVersion, string? profileId, string suggestedFix, IReadOnlyDictionary<string, string?>? details)
Parameters
severitystring問題嚴重性
ruleIdstring規則識別碼
messagestring問題說明訊息
packagePathstring套件路徑
xPathstringXML 位置
requiredVersionstring所需 ODF 版本
profileIdstring相容性設定檔識別碼
suggestedFixstring建議修復文字
detailsIReadOnlyDictionary<string, string>結構化診斷細節
Properties
Details
Gets the Details value. 取得結構化診斷細節。
public IReadOnlyDictionary<string, string?> Details { get; }
Property Value
Message
Gets the Message value. 取得問題說明訊息。
public string Message { get; }
Property Value
PackagePath
Gets the PackagePath value. 取得套件路徑。
public string? PackagePath { get; }
Property Value
ProfileId
Gets the ProfileId value. 取得相容性設定檔識別碼。
public string? ProfileId { get; }
Property Value
RequiredVersion
Gets the RequiredVersion value. 取得所需 ODF 版本。
public string? RequiredVersion { get; }
Property Value
RuleId
Gets the RuleId value. 取得規則識別碼。
public string RuleId { get; }
Property Value
Severity
Gets the Severity value. 取得問題嚴重性。
public string Severity { get; }
Property Value
SuggestedFix
Gets the SuggestedFix value. 取得建議修復文字。
public string SuggestedFix { get; }
Property Value
XPath
Gets the XPath value. 取得 XML 位置。
public string? XPath { get; }