[]
Represents a character pair.
[TypeConverter(typeof(PairChar.PairCharTypeConverter))]
public class PairChar : ICloneable, ISerializable, ISerializeSupport
<TypeConverter(GetType(PairChar.PairCharTypeConverter))>
Public Class PairChar
Implements ICloneable, ISerializable, ISerializeSupport
The PairChar describes a character pair, for example, pair brackets "( )". This PairChar's Left is "(", and Right is ")".
Name | Description |
---|---|
PairChar() | Initializes a new instance of the PairChar class. |
PairChar(char, char) | Initializes a new instance of the PairChar class with specified left and right characters. |
PairChar(SerializationInfo, StreamingContext) | Initializes a new instance of this class. |
Name | Description |
---|---|
Left | Gets or sets the left character of the pair. |
Right | Gets or sets the right character of the pair. |
Name | Description |
---|---|
Clone() | Creates an exact copy of the current PairChar. |
Deserialize(XmlNodeReader) | Loads the object from XML. |
Equals(object) | Determines whether the specified object is equal to the current PairChar. |
GetHashCode() | Returns a hash code of the current PairChar. |
GetObjectData(SerializationInfo, StreamingContext) | Gets the object data. |
Serialize(XmlTextWriter) | Saves the object to XML. |
ToString() | Returns a string representation of the PairChar object. |