Class ControlWord<T>
Inheritance
ControlWord<T>
Assembly: SharpRtfConvert.dll
Syntax
public abstract class ControlWord<T> : IEquatable<ControlWord<T>>, IWord, IToken
Type Parameters
Constructors
|
Edit this page
View Source
ControlWord(T)
Declaration
protected ControlWord(T value)
Parameters
| Type |
Name |
Description |
| T |
value |
|
Properties
|
Edit this page
View Source
Name
Declaration
public abstract string Name { get; }
Property Value
|
Edit this page
View Source
Type
Declaration
public virtual TokenType Type { get; }
Property Value
|
Edit this page
View Source
Value
Declaration
Property Value
Methods
|
Edit this page
View Source
Create(T)
Declaration
public abstract ControlWord<T> Create(T value)
Parameters
| Type |
Name |
Description |
| T |
value |
|
Returns
|
Edit this page
View Source
Equals(ControlWord<T>?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(ControlWord<T>? other)
Parameters
| Type |
Name |
Description |
| ControlWord<T> |
other |
An object to compare with this object.
|
Returns
| Type |
Description |
| bool |
true if the current object is equal to the other parameter; otherwise, false.
|
|
Edit this page
View Source
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
The object to compare with the current object.
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
|
Edit this page
View Source
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|
Overrides
|
Edit this page
View Source
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type |
Description |
| string |
A string that represents the current object.
|
Overrides
Implements