Class TagPairDefinition
Definition of a TagPair. Can be referenced by multiple TagPair elements.
Implements
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
[DataContract]
public class TagPairDefinition : SkeletonItem, IEquatable<MetadataContainer>, IEquatable<SkeletonItem>, ICloneable<TagPairDefinition>, IEquatable<TagPairDefinition>
Constructors
TagPairDefinition()
Initializes a new instance of the TagPairDefinition class.
Declaration
public TagPairDefinition()
Properties
CanHide
Gets or sets a value indicating whether this tag can be hidden when displayed.
Declaration
[DataMember(Name = "canHide")]
public bool CanHide { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
EndTagContent
Gets or sets the raw end tag content.
Declaration
[DataMember(Name = "endTagContent", EmitDefaultValue = false)]
public string EndTagContent { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The raw end tag content. |
EndTagDisplayText
Gets or sets the end tag display text.
Declaration
[DataMember(Name = "endTagDisplayText", EmitDefaultValue = false)]
public string EndTagDisplayText { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The end tag display text. |
FormattingGroupId
Gets or sets the formatting group identifier.
Declaration
[DataMember(Name = "formattingGroupId")]
public int FormattingGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The formatting group identifier. |
QuickInsertId
Gets or sets the QuickInsert identifier of this tag.
Declaration
[DataMember(Name = "quickInsertId", EmitDefaultValue = false)]
public string QuickInsertId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The QuickInsert identifier of this tag. |
SegmentationHint
Gets or sets the segmentation hint.
Declaration
[DataMember(Name = "segmentationHint", EmitDefaultValue = false)]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public SegmentationHint SegmentationHint { get; set; }
Property Value
| Type | Description |
|---|---|
| SegmentationHint | The segmentation hint. |
StartTagContent
Gets or sets the raw start tag conten.
Declaration
[DataMember(Name = "startTagContent", EmitDefaultValue = false)]
public string StartTagContent { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The raw start tag content. |
StartTagDisplayText
Gets or sets the start tag display text.
Declaration
[DataMember(Name = "startTagDisplayText", EmitDefaultValue = false)]
public string StartTagDisplayText { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The start tag display text. |
SubContent
Gets or sets the localizable subcontent.
Declaration
[DataMember(Name = "subContent", EmitDefaultValue = false)]
public SubContentCollection SubContent { get; set; }
Property Value
| Type | Description |
|---|---|
| SubContentCollection | The localizable subcontent. |
Methods
Clone()
Clones this instance.
Declaration
public TagPairDefinition Clone()
Returns
| Type | Description |
|---|---|
| TagPairDefinition |
Equals(TagPairDefinition)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(TagPairDefinition other)
Parameters
| Type | Name | Description |
|---|---|---|
| TagPairDefinition | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| bool | true if the current object is equal to the |
Equals(object)
Performs a deep-equals comparison.
System.Object.Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for this instance. |