Class TextMarkup
A Markup
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class TextMarkup : MarkupData, ICloneable<MarkupData>
Constructors
TextMarkup()
Initializes a new instance of the Text
Declaration
public TextMarkup()
TextMarkup(String)
Initializes a new instance of the Text
Declaration
public TextMarkup(string text)
Parameters
Type | Name | Description |
---|---|---|
System. |
text | The text. |
Properties
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System. |
The text. |
Type
Gets the type of Markup
Declaration
protected override string Type { get; set; }
Property Value
Type | Description |
---|---|
System. |
The type. |
Overrides
Methods
AcceptVisitor(BcmVisitor)
Accepts a visitor of type Bcm
Declaration
public override void AcceptVisitor(BcmVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
Bcm |
visitor | The Bcm |
Overrides
Clone()
Clones this instance.
Declaration
public TextMarkup Clone()
Returns
Type | Description |
---|---|
Text |
A deep clone of this instance. |
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 |
---|---|---|
Markup |
other | An object to compare with this object. |
Returns
Type | Description |
---|---|
System. |
true if the current object is equal to the |
Overrides
Equals(Object)
Performs a deep-equals comparison.
System.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj |
Returns
Type | Description |
---|---|
System. |
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
A hash code for this instance, |
Overrides
ToString()
Converts to string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
A System. |
Implements
System.IEquatable<>
System.IEquatable<>