Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.ISignedNumber< TSelf > Interface Template Reference

Public Member Functions

int CompareTo (object? obj)
 
int CompareTo (T? other)
 
int CompareTo (object? obj)
 
int CompareTo (T? other)
 
bool Equals (T? other)
 
bool TryFormat (Span< char > destination, out int charsWritten, ReadOnlySpan< char > format, IFormatProvider? provider)
 
string ToString (string? format, IFormatProvider? formatProvider)
 
int CompareTo (object? obj)
 
int CompareTo (T? other)
 
bool Equals (T? other)
 

Static Public Member Functions

static TSelf Abs (TSelf value)
 
static TSelf Clamp (TSelf value, TSelf min, TSelf max)
 
static TSelf Create< TOther > (TOther value)
 
static TSelf CreateSaturating< TOther > (TOther value)
 
static TSelf CreateTruncating< TOther > (TOther value)
 
static TSelf TSelf Remainder DivRem (TSelf left, TSelf right)
 
static TSelf Max (TSelf x, TSelf y)
 
static TSelf Min (TSelf x, TSelf y)
 
static TSelf Parse (string s, NumberStyles style, IFormatProvider? provider)
 
static TSelf Parse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider? provider)
 
static TSelf Parse (ReadOnlySpan< char > s, IFormatProvider? provider)
 
static TSelf Parse (string s, IFormatProvider? provider)
 
static TSelf Sign (TSelf value)
 
static bool TryCreate< TOther > (TOther value, out TSelf result)
 
static bool TryParse ([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out TSelf result)
 
static bool TryParse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider? provider, out TSelf result)
 
static bool TryParse (ReadOnlySpan< char > s, IFormatProvider? provider, out TSelf result)
 
static bool TryParse ([NotNullWhen(true)] string? s, IFormatProvider? provider, out TSelf result)
 
static TResult operator+ (TSelf left, TOther right)
 
static TResult operator+ (TSelf value)
 
static bool operator< (TSelf left, TOther right)
 
static bool operator<= (TSelf left, TOther right)
 
static bool operator> (TSelf left, TOther right)
 
static bool operator>= (TSelf left, TOther right)
 
static bool operator== (TSelf left, TOther right)
 
static bool operator!= (TSelf left, TOther right)
 
static TSelf operator-- (TSelf value)
 
static TResult operator/ (TSelf left, TOther right)
 
static TSelf operator++ (TSelf value)
 
static TResult operator% (TSelf left, TOther right)
 
static TResult operator* (TSelf left, TOther right)
 
static TResult operator- (TSelf left, TOther right)
 
static TResult operator- (TSelf value)
 
static TResult operator+ (TSelf left, TOther right)
 
static bool operator< (TSelf left, TOther right)
 
static bool operator<= (TSelf left, TOther right)
 
static bool operator> (TSelf left, TOther right)
 
static bool operator>= (TSelf left, TOther right)
 
static bool operator== (TSelf left, TOther right)
 
static bool operator!= (TSelf left, TOther right)
 
static TResult operator/ (TSelf left, TOther right)
 
static TResult operator% (TSelf left, TOther right)
 
static TResult operator* (TSelf left, TOther right)
 
static TResult operator- (TSelf left, TOther right)
 
static TResult operator- (TSelf value)
 
static TResult operator+ (TSelf value)
 

Static Public Attributes

static TSelf Quotient
 

Properties

static TSelf NegativeOne [get]
 
static TSelf One [get]
 
static TSelf Zero [get]
 
static TResult AdditiveIdentity [get]
 
static TResult MultiplicativeIdentity [get]
 
static TResult AdditiveIdentity [get]
 
static TResult MultiplicativeIdentity [get]
 

Detailed Description

Type Constraints
TSelf :ISignedNumber<TSelf> 

Definition at line 6 of file ISignedNumber.cs.


The documentation for this interface was generated from the following file: