Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
struct | ToLowerConversion |
struct | ToUpperConversion |
Public Member Functions | |
object | Clone () |
char | ToLower (char c) |
string | ToLower (string str) |
char | ToUpper (char c) |
string | ToUpper (string str) |
override bool | Equals ([NotNullWhen(true)] object? obj) |
override int | GetHashCode () |
override string | ToString () |
string | ToTitleCase (string str) |
void | OnDeserialization (object? sender) |
Static Public Member Functions | |
static TextInfo | ReadOnly (TextInfo textInfo) |
Package Functions | |
TextInfo (CultureData cultureData) | |
void | SetReadOnlyState (bool readOnly) |
void | ChangeCaseToLower (ReadOnlySpan< char > source, Span< char > destination) |
void | ChangeCaseToUpper (ReadOnlySpan< char > source, Span< char > destination) |
unsafe void | IcuChangeCase (char *src, int srcLen, char *dstBuffer, int dstBufferCapacity, bool bToUpper) |
Static Package Functions | |
static char | ToLowerInvariant (char c) |
static unsafe string | ToLowerAsciiInvariant (string s) |
static char | ToUpperInvariant (char c) |
Static Package Attributes | |
static readonly TextInfo | Invariant |
Properties | |
int | ANSICodePage [get] |
int | OEMCodePage [get] |
int | MacCodePage [get] |
int | EBCDICCodePage [get] |
int | LCID [get] |
string | CultureName [get] |
bool | IsReadOnly [get] |
string | ListSeparator [get, set] |
bool | IsAsciiCasingSameAsInvariant [get] |
bool | IsRightToLeft [get] |
bool | IsInvariant [get] |
Private Types | |
enum | Tristate : byte { NotInitialized , False , True } |
Private Member Functions | |
TextInfo (CultureData cultureData, bool readOnly) | |
void IDeserializationCallback. | OnDeserialization (object sender) |
void | VerifyWritable () |
unsafe char | ChangeCase (char c, bool toUpper) |
void | ChangeCaseCommon< TConversion > (ReadOnlySpan< char > source, Span< char > destination) |
unsafe void | ChangeCaseCommon< TConversion > (ref char source, ref char destination, int charCount) |
unsafe string | ChangeCaseCommon< TConversion > (string source) |
void | PopulateIsAsciiCasingSameAsInvariant () |
int | AddTitlecaseLetter (ref StringBuilder result, ref string input, int inputIndex, int charLen) |
unsafe void | ChangeCaseCore (char *src, int srcLen, char *dstBuffer, int dstBufferCapacity, bool bToUpper) |
unsafe void | NlsChangeCase (char *pSource, int pSourceLen, char *pResult, int pResultLen, bool toUpper) |
Static Private Member Functions | |
static char | ToLowerAsciiInvariant (char c) |
static char | ToUpperAsciiInvariant (char c) |
static int | AddNonLetter (ref StringBuilder result, ref string input, int inputIndex, int charLen) |
static bool | IsWordSeparator (UnicodeCategory category) |
static bool | IsLetterCategory (UnicodeCategory uc) |
static bool | NeedsTurkishCasing (string localeName) |
static bool | IsInvariantLocale (string localeName) |
Private Attributes | |
string | _listSeparator |
bool | _isReadOnly |
readonly string | _cultureName |
readonly CultureData | _cultureData |
readonly string | _textInfoName |
Tristate | _isAsciiCasingSameAsInvariant |
Tristate | _needsTurkishCasing |
IntPtr | _sortHandle |
Definition at line 11 of file TextInfo.cs.