Interface IAbstractTag
Base interface for all tags that appear inside the source or target content of a paragraph unit.
Inherited Members
Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public interface IAbstractTag : IAbstractDataContent, IAbstractMarkupData, ICloneable, ISupportsUniqueId
Properties
HasSubSegmentReferences
True
if there is one or more SubSegments for the tag.
Declaration
bool HasSubSegmentReferences { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SubSegments
Information on any localizable content inside this tag
Declaration
IEnumerable<ISubSegmentReference> SubSegments { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ISubSegmentReference> |
Remarks
Call AddSubSegmentReference(ISubSegmentReference) or RemoveSubSegmentReference(ISubSegmentReference) to add or remove localizable content.
TagProperties
Common properties of tag information as determined by the native file type processors
Declaration
IAbstractTagProperties TagProperties { get; }
Property Value
Type | Description |
---|---|
IAbstractTagProperties |
Methods
AddSubSegmentReference(ISubSegmentReference)
Appends a sub-segment reference to the list of sub-segments.
Declaration
void AddSubSegmentReference(ISubSegmentReference subSegmentReference)
Parameters
Type | Name | Description |
---|---|---|
ISubSegmentReference | subSegmentReference |
Remarks
The Properties of the added sub-segment reference should correspond to an existing sub-segment in the TagProperties.
AddSubSegmentReferences(IEnumerable<ISubSegmentReference>)
Appends a set of sub-segment references.
Declaration
void AddSubSegmentReferences(IEnumerable<ISubSegmentReference> subSegmentReferences)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ISubSegmentReference> | subSegmentReferences |
Remarks
Each sub-segment reference should correspond to a sub-segment in the TagProperties.
ClearSubSegmentReferences()
Removes all sub-segment references from the tag.
Declaration
void ClearSubSegmentReferences()
RemoveSubSegmentReference(ISubSegmentReference)
Removes the specified sub-segment reference.
Declaration
void RemoveSubSegmentReference(ISubSegmentReference subSegmentReference)
Parameters
Type | Name | Description |
---|---|---|
ISubSegmentReference | subSegmentReference |
Remarks
If the subSegmentReference
is not part of the collection,
nothing happens.