Class PlaceholderTag
A tag with no translatable content.
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class PlaceholderTag : MarkupData, ICloneable<MarkupData>, ISkeletonItemReference<PlaceholderTagDefinition>
Constructors
PlaceholderTag()
Declaration
public PlaceholderTag()
Properties
Definition
Gets the definition of this item from the FileSkeleton.
Declaration
public PlaceholderTagDefinition Definition { get; }
Property Value
Type | Description |
---|---|
PlaceholderTagDefinition | The definition of this item from the FileSkeleton. |
PlaceholderTagDefinitionId
Gets or sets the PlaceholderTagDefinition id.
Declaration
public int PlaceholderTagDefinitionId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The PlaceholderTagDefinition id. |
TagNumber
Gets or sets the TagNumber for this instance. This is the same as the "frameworkOriginalTagId" metadata but now exposed on the tag as well (the metadata will become deprecated). If needed, it will be populated on deserialization from the metadata, the value remains null iff not present (which should not be the case).
Declaration
public string TagNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets the type of MarkupData.
Declaration
protected override string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String | The type. |
Overrides
Methods
AcceptVisitor(BcmVisitor)
Accepts a visitor of type BcmVisitor.
Declaration
public override void AcceptVisitor(BcmVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
BcmVisitor | visitor | The BcmVisitor used to visit this item. |
Overrides
Clone()
Clones this instance, setting a new id.
Declaration
public PlaceholderTag Clone()
Returns
Type | Description |
---|---|
PlaceholderTag | A deep clone of this instance, with a new unique id. |
Equals(MarkupData)
Indicates whether the current object is equal to another object of the same type.
Declaration
public override bool Equals(MarkupData other)
Parameters
Type | Name | Description |
---|---|---|
MarkupData | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current object is equal to the |
Overrides
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. |