Class OdfTemplateUnresolvedPlaceholder
- Namespace
- OdfKit
- Assembly
- OdfKit.dll
Represents one unresolved template placeholder with a lightweight location hint. 表示一個未解析模板占位符與其輕量位置提示。
public sealed record OdfTemplateUnresolvedPlaceholder : IEquatable<OdfTemplateUnresolvedPlaceholder>
- Inheritance
-
OdfTemplateUnresolvedPlaceholder
- Implements
- Inherited Members
Constructors
OdfTemplateUnresolvedPlaceholder(string, string, string)
Represents one unresolved template placeholder with a lightweight location hint. 表示一個未解析模板占位符與其輕量位置提示。
public OdfTemplateUnresolvedPlaceholder(string Expression, string DocumentKind, string LocationHint)
Parameters
ExpressionstringThe placeholder expression without braces. / 不含大括號的占位符運算式。
DocumentKindstringThe practical document kind. / 實務文件種類。
LocationHintstringThe lightweight location hint. / 輕量位置提示。
Properties
DocumentKind
The practical document kind. / 實務文件種類。
public string DocumentKind { get; init; }
Property Value
Expression
The placeholder expression without braces. / 不含大括號的占位符運算式。
public string Expression { get; init; }
Property Value
LocationHint
The lightweight location hint. / 輕量位置提示。
public string LocationHint { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out string)
public void Deconstruct(out string Expression, out string DocumentKind, out string LocationHint)
Parameters
Equals(OdfTemplateUnresolvedPlaceholder?)
public bool Equals(OdfTemplateUnresolvedPlaceholder? other)
Parameters
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 ==(OdfTemplateUnresolvedPlaceholder?, OdfTemplateUnresolvedPlaceholder?)
public static bool operator ==(OdfTemplateUnresolvedPlaceholder? left, OdfTemplateUnresolvedPlaceholder? right)
Parameters
Returns
operator !=(OdfTemplateUnresolvedPlaceholder?, OdfTemplateUnresolvedPlaceholder?)
public static bool operator !=(OdfTemplateUnresolvedPlaceholder? left, OdfTemplateUnresolvedPlaceholder? right)