Class RuneExtensions
Text-related extension methods for
Inheritance
System.Object
RuneExtensions
Namespace: X10D.Text
Assembly: X10D.dll
Syntax
public static class RuneExtensions : object
Methods
| Improve this Doc View SourceIsEmoji(Rune)
Returns a value indicating whether this rune constitutes an emoji.
Declaration
public static bool IsEmoji(this Rune value)
Parameters
Type | Name | Description |
---|---|---|
Rune | value | The rune to check. |
Returns
Type | Description |
---|---|
System.Boolean | true if this rune is an emoji; otherwise, false. |
Repeat(Rune, Int32)
Returns a string composed of the current rune repeated a specified number of times.
Declaration
public static string Repeat(this Rune value, int count)
Parameters
Type | Name | Description |
---|---|---|
Rune | value | The rune to repeat. |
System.Int32 | count | The number of times to repeat. |
Returns
Type | Description |
---|---|
System.String | A |