Table of Contents

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

severity string

問題嚴重性

ruleId string

規則識別碼

message string

問題說明訊息

packagePath string

套件路徑

xPath string

XML 位置

requiredVersion string

所需 ODF 版本

profileId string

相容性設定檔識別碼

suggestedFix string

建議修復文字

details IReadOnlyDictionary<string, string>

結構化診斷細節

Properties

Details

Gets the Details value. 取得結構化診斷細節。

public IReadOnlyDictionary<string, string?> Details { get; }

Property Value

IReadOnlyDictionary<string, string>

Message

Gets the Message value. 取得問題說明訊息。

public string Message { get; }

Property Value

string

PackagePath

Gets the PackagePath value. 取得套件路徑。

public string? PackagePath { get; }

Property Value

string

ProfileId

Gets the ProfileId value. 取得相容性設定檔識別碼。

public string? ProfileId { get; }

Property Value

string

RequiredVersion

Gets the RequiredVersion value. 取得所需 ODF 版本。

public string? RequiredVersion { get; }

Property Value

string

RuleId

Gets the RuleId value. 取得規則識別碼。

public string RuleId { get; }

Property Value

string

Severity

Gets the Severity value. 取得問題嚴重性。

public string Severity { get; }

Property Value

string

SuggestedFix

Gets the SuggestedFix value. 取得建議修復文字。

public string SuggestedFix { get; }

Property Value

string

XPath

Gets the XPath value. 取得 XML 位置。

public string? XPath { get; }

Property Value

string