Class OdfImageInspectionIssue
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
RuleIdstringThe stable rule identifier. / 穩定的規則識別碼。
FrameNamestringThe image frame name. / 影像框架名稱。
ImageHrefstringThe image resource path. / 影像資源路徑。
MessagestringThe issue message. / 問題訊息。
SuggestionstringThe suggested fix. / 建議修正方式。
SeverityOdfIssueSeverityThe issue severity. / 問題嚴重性。
ProfileOdfPracticalCompatibilityProfile?The practical compatibility profile. / 實務相容性設定檔。
MessageKeystringThe localized message key. / 本地化訊息鍵值。
SuggestionKeystringThe localized suggestion key. / 本地化建議鍵值。
Properties
FrameName
The image frame name. / 影像框架名稱。
public string? FrameName { get; init; }
Property Value
ImageHref
The image resource path. / 影像資源路徑。
public string? ImageHref { get; init; }
Property Value
Message
The issue message. / 問題訊息。
public string Message { get; init; }
Property Value
MessageKey
The localized message key. / 本地化訊息鍵值。
public string? MessageKey { get; init; }
Property Value
Profile
The practical compatibility profile. / 實務相容性設定檔。
public OdfPracticalCompatibilityProfile? Profile { get; init; }
Property Value
RuleId
The stable rule identifier. / 穩定的規則識別碼。
public string RuleId { get; init; }
Property Value
Severity
The issue severity. / 問題嚴重性。
public OdfIssueSeverity Severity { get; init; }
Property Value
Suggestion
The suggested fix. / 建議修正方式。
public string Suggestion { get; init; }
Property Value
SuggestionKey
The localized suggestion key. / 本地化建議鍵值。
public string? SuggestionKey { get; init; }
Property Value
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
RuleIdstringFrameNamestringImageHrefstringMessagestringSuggestionstringSeverityOdfIssueSeverityProfileOdfPracticalCompatibilityProfile?MessageKeystringSuggestionKeystring
Equals(OdfImageInspectionIssue?)
public bool Equals(OdfImageInspectionIssue? other)
Parameters
otherOdfImageInspectionIssue
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(OdfImageInspectionIssue?, OdfImageInspectionIssue?)
public static bool operator ==(OdfImageInspectionIssue? left, OdfImageInspectionIssue? right)
Parameters
leftOdfImageInspectionIssuerightOdfImageInspectionIssue
Returns
operator !=(OdfImageInspectionIssue?, OdfImageInspectionIssue?)
public static bool operator !=(OdfImageInspectionIssue? left, OdfImageInspectionIssue? right)
Parameters
leftOdfImageInspectionIssuerightOdfImageInspectionIssue