Class PlaceholderTag
A tag with no translatable content.
Implements
Inherited Members
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.LiteBCM
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class PlaceholderTag : MarkupData, ISkeletonItemReference<PlaceholderTagDefinition>
Constructors
PlaceholderTag(Int32)
Initializes a new instance of the PlaceholderTag class.
Declaration
public PlaceholderTag(int placeholderTagDefinitionId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | placeholderTagDefinitionId | The identifier for the PlaceholderTagPairDefinition |
PlaceholderTag(String, Int32)
Initializes a new instance of the PlaceholderTag class.
Declaration
public PlaceholderTag(string id, int placeholderTagDefinitionId)
Parameters
Type | Name | Description |
---|---|---|
String | id | The identifier |
Int32 | placeholderTagDefinitionId | The identifier for the PlaceholderTagPairDefinition |
Properties
Definition
Gets the definition of this item from the Sdl.Core.Bcm.StudioPublicModel.Skeleton.FileSkeleton.
Declaration
public PlaceholderTagDefinition Definition { get; }
Property Value
Type | Description |
---|---|
PlaceholderTagDefinition | The definition of this item from the Sdl.Core.Bcm.StudioPublicModel.Skeleton.FileSkeleton. |
PlaceholderTagDefinitionId
Gets or sets the PlaceholderTagDefinition id. When associated with a skeleton, the ID must correspond to a valid PlaceholderTagDefinition in the skeleton.
Declaration
public int PlaceholderTagDefinitionId { get; set; }
Property Value
Type | Description |
---|---|
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 if not present (which should not be the case). Can not be set to null.
Declaration
public string TagNumber { get; set; }
Property Value
Type | Description |
---|---|
String |
Type
Gets the type of MarkupData.
Declaration
protected override string Type { get; set; }
Property Value
Type | Description |
---|---|
String | The type. |
Overrides
Methods
AcceptVisitor(LiteBcmVisitor)
Accepts a visitor of type LiteBcmVisitor.
Declaration
public override void AcceptVisitor(LiteBcmVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
LiteBcmVisitor | visitor | The LiteBcmVisitor used to visit this item. |