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
public class TagPairDefinition : SkeletonItem, ICloneable<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
public bool CanHide { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EndTagContent
Gets or sets the raw end tag content.
Declaration
public string EndTagContent { get; set; }
Property Value
Type | Description |
---|---|
System.String | The raw end tag content. |
EndTagDisplayText
Gets or sets the end tag display text.
Declaration
public string EndTagDisplayText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The end tag display text. |
FormattingGroupId
Gets or sets the formatting group identifier.
Declaration
public int FormattingGroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The formatting group identifier. |
QuickInsertId
Gets or sets the QuickInsert identifier of this tag.
Declaration
public string QuickInsertId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The QuickInsert identifier of this tag. |
SegmentationHint
Gets or sets the segmentation hint.
Declaration
public SegmentationHint SegmentationHint { get; set; }
Property Value
Type | Description |
---|---|
SegmentationHint | The segmentation hint. |
StartTagContent
Gets or sets the raw start tag conten.
Declaration
public string StartTagContent { get; set; }
Property Value
Type | Description |
---|---|
System.String | The raw start tag content. |
StartTagDisplayText
Gets or sets the start tag display text.
Declaration
public string StartTagDisplayText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The start tag display text. |
SubContent
Gets or sets the localizable subcontent.
Declaration
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 |
---|---|
System.Boolean | 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 |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance. |