Class Text
Wrapper of non null
System.String instance.
Inheritance
System.Object
Text
Implements
System.Collections.Generic.IEnumerable<System.Char>
System.Collections.IEnumerable
System.ICloneable
System.IComparable
System.IConvertible
Assembly: NineDigit.eKasa.dll
Syntax
public class Text : Object, IEnumerable<char>, IEnumerable, IDeepCloneable, ICloneable, IComparable, IComparable<Text>, IConvertible, IEquatable<Text>
Constructors
Text(String)
Declaration
public Text(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Properties
Item[Int32]
Declaration
public char this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Type |
Description |
System.Char |
|
Length
Declaration
public int Length { get; }
Property Value
Type |
Description |
System.Int32 |
|
Value
Declaration
protected string Value { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Clone()
Declaration
Returns
Type |
Description |
System.Object |
|
CompareTo(Text)
Declaration
public int CompareTo(Text other)
Parameters
Type |
Name |
Description |
Text |
other |
|
Returns
Type |
Description |
System.Int32 |
|
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Int32 |
|
CompareTo(String)
Declaration
protected virtual int CompareTo(string other)
Parameters
Type |
Name |
Description |
System.String |
other |
|
Returns
Type |
Description |
System.Int32 |
|
Equals(Text)
Declaration
public bool Equals(Text other)
Parameters
Type |
Name |
Description |
Text |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Equals(Text, Text)
Declaration
public static bool Equals(Text x, Text y)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Equals(String)
Declaration
protected virtual bool Equals(string other)
Parameters
Type |
Name |
Description |
System.String |
other |
|
Returns
Type |
Description |
System.Boolean |
|
GetEnumerator()
Declaration
public IEnumerator<char> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<System.Char> |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Operators
Equality(Text, Text)
Declaration
public static bool operator ==(Text x, Text y)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implicit(Text to String)
Declaration
public static implicit operator string (Text text)
Parameters
Type |
Name |
Description |
Text |
text |
|
Returns
Type |
Description |
System.String |
|
Implicit(String to Text)
Declaration
public static implicit operator Text(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Inequality(Text, Text)
Declaration
public static bool operator !=(Text x, Text y)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
IDeepCloneable.DeepClone()
Declaration
object IDeepCloneable.DeepClone()
Returns
Type |
Description |
System.Object |
|
Implements
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable
System.ICloneable
System.IComparable
System.IComparable<>
System.IConvertible
System.IEquatable<>