Class ReaderString
- Namespace
- Mech3DotNet.Reader
- Assembly
- Mech3DotNet.dll
public sealed class ReaderString : ReaderValue, IEquatable<ReaderString>
- Inheritance
-
ReaderString
- Implements
- Inherited Members
Constructors
ReaderString()
public ReaderString()
ReaderString(string)
public ReaderString(string value)
Parameters
value
string
Properties
Kind
The kind of ReaderValue.
public override ReaderValueKind Kind { get; }
Property Value
Value
public string Value { get; set; }
Property Value
Methods
Equals(ReaderString?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ReaderString? other)
Parameters
other
ReaderStringAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Write(BinaryWriter)
public override void Write(BinaryWriter writer)
Parameters
writer
BinaryWriter
Operators
implicit operator string(ReaderString)
public static implicit operator string(ReaderString value)
Parameters
value
ReaderString
Returns
implicit operator ReaderString(string)
public static implicit operator ReaderString(string value)
Parameters
value
string