Class PlaceholderTagDefinition
Definition of a Placeholder. Can be referenced by multiple PlaceholderTag elements.
Implements
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
[DataContract]
public class PlaceholderTagDefinition : SkeletonItem, IEquatable<MetadataContainer>, IEquatable<SkeletonItem>, ICloneable<PlaceholderTagDefinition>, IEquatable<PlaceholderTagDefinition>
Constructors
PlaceholderTagDefinition()
Initializes a new instance of the PlaceholderTagDefinition class.
Declaration
public PlaceholderTagDefinition()
Properties
DisplayText
Gets or sets the display text.
Declaration
[DataMember(Name = "displayText", EmitDefaultValue = false)]
public string DisplayText { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The display text. |
QuickInsertId
Gets or sets the QuickInsert ID of the tag.
Declaration
[DataMember(Name = "quickInsertId", EmitDefaultValue = false)]
public string QuickInsertId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The QuickInsert ID of the tag. |
SegmentationHint
Gets or sets the segmentation hint.
Declaration
[DataMember(Name = "segmentationHint", EmitDefaultValue = false)]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public SegmentationHint SegmentationHint { get; set; }
Property Value
| Type | Description |
|---|---|
| SegmentationHint | The segmentation hint. |
SubContent
Gets or sets the SubContentCollection of the placeholder tag.
Declaration
[DataMember(Name = "subContent")]
public SubContentCollection SubContent { get; set; }
Property Value
| Type | Description |
|---|---|
| SubContentCollection | The SubContentCollection of the tag. |
TagContent
Gets or sets the raw Placeholder tag content.
Declaration
[DataMember(Name = "tagContent", EmitDefaultValue = false)]
public string TagContent { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The raw Placeholder tag content of the tag. |
TextEquivalent
Gets or sets the tag text equivalent.
Declaration
[DataMember(Name = "textEquivalent", EmitDefaultValue = false)]
public string TextEquivalent { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The tag text equivalent. |
Methods
Clone()
Clones this instance.
Declaration
public PlaceholderTagDefinition Clone()
Returns
| Type | Description |
|---|---|
| PlaceholderTagDefinition | A new clone of this instance. |
Equals(PlaceholderTagDefinition)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(PlaceholderTagDefinition other)
Parameters
| Type | Name | Description |
|---|---|---|
| PlaceholderTagDefinition | 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. |