Table of Contents

Class OdfImageInspectionIssue

Namespace
OdfKit.Image
Assembly
OdfKit.dll

Represents one practical image inspection issue. 表示一個實務圖片檢查問題。

public sealed record OdfImageInspectionIssue : IEquatable<OdfImageInspectionIssue>
Inheritance
OdfImageInspectionIssue
Implements
Inherited Members

Constructors

OdfImageInspectionIssue(string, string?, string?, string, string, OdfIssueSeverity, OdfPracticalCompatibilityProfile?, string?, string?)

Represents one practical image inspection issue. 表示一個實務圖片檢查問題。

public OdfImageInspectionIssue(string RuleId, string? FrameName, string? ImageHref, string Message, string Suggestion, OdfIssueSeverity Severity = OdfIssueSeverity.Warning, OdfPracticalCompatibilityProfile? Profile = null, string? MessageKey = null, string? SuggestionKey = null)

Parameters

RuleId string

The stable rule identifier. / 穩定的規則識別碼。

FrameName string

The image frame name. / 影像框架名稱。

ImageHref string

The image resource path. / 影像資源路徑。

Message string

The issue message. / 問題訊息。

Suggestion string

The suggested fix. / 建議修正方式。

Severity OdfIssueSeverity

The issue severity. / 問題嚴重性。

Profile OdfPracticalCompatibilityProfile?

The practical compatibility profile. / 實務相容性設定檔。

MessageKey string

The localized message key. / 本地化訊息鍵值。

SuggestionKey string

The localized suggestion key. / 本地化建議鍵值。

Properties

FrameName

The image frame name. / 影像框架名稱。

public string? FrameName { get; init; }

Property Value

string

ImageHref

The image resource path. / 影像資源路徑。

public string? ImageHref { get; init; }

Property Value

string

Message

The issue message. / 問題訊息。

public string Message { get; init; }

Property Value

string

MessageKey

The localized message key. / 本地化訊息鍵值。

public string? MessageKey { get; init; }

Property Value

string

Profile

The practical compatibility profile. / 實務相容性設定檔。

public OdfPracticalCompatibilityProfile? Profile { get; init; }

Property Value

OdfPracticalCompatibilityProfile?

RuleId

The stable rule identifier. / 穩定的規則識別碼。

public string RuleId { get; init; }

Property Value

string

Severity

The issue severity. / 問題嚴重性。

public OdfIssueSeverity Severity { get; init; }

Property Value

OdfIssueSeverity

Suggestion

The suggested fix. / 建議修正方式。

public string Suggestion { get; init; }

Property Value

string

SuggestionKey

The localized suggestion key. / 本地化建議鍵值。

public string? SuggestionKey { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string?, out string?, out string, out string, out OdfIssueSeverity, out OdfPracticalCompatibilityProfile?, out string?, out string?)

public void Deconstruct(out string RuleId, out string? FrameName, out string? ImageHref, out string Message, out string Suggestion, out OdfIssueSeverity Severity, out OdfPracticalCompatibilityProfile? Profile, out string? MessageKey, out string? SuggestionKey)

Parameters

RuleId string
FrameName string
ImageHref string
Message string
Suggestion string
Severity OdfIssueSeverity
Profile OdfPracticalCompatibilityProfile?
MessageKey string
SuggestionKey string

Equals(OdfImageInspectionIssue?)

public bool Equals(OdfImageInspectionIssue? other)

Parameters

other OdfImageInspectionIssue

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(OdfImageInspectionIssue?, OdfImageInspectionIssue?)

public static bool operator ==(OdfImageInspectionIssue? left, OdfImageInspectionIssue? right)

Parameters

left OdfImageInspectionIssue
right OdfImageInspectionIssue

Returns

bool

operator !=(OdfImageInspectionIssue?, OdfImageInspectionIssue?)

public static bool operator !=(OdfImageInspectionIssue? left, OdfImageInspectionIssue? right)

Parameters

left OdfImageInspectionIssue
right OdfImageInspectionIssue

Returns

bool