mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 14:28:47 +00:00
Extension methods on crack.
Oliver Booth
90e4552415
GetHost() returns the hostname of the endpoint which will either be the value of DnsEndPoint.Host or IPEndPoint.Address GetPort() returns the port of the endpoint. |
||
---|---|---|
X10D | ||
X10D.Drawing | ||
X10D.Unity | ||
X10D.WinForms | ||
.gitignore | ||
README.md | ||
X10D.sln |
X10D
Extension methods on crack
About
X10D (pronounced extend), is a collection of class libraries that provide various .NET extension methods, including extension methods for Unity, Windows Forms and System.Drawing.
Extended Classes
Below is a list of the number of extension methods written for a given type. Overloaded methods are not counted.
Type | Library | Method count |
---|---|---|
byte / byte[] |
X10D |
8 |
char |
X10D |
1 |
IComparable |
X10D |
2 |
IConvertible |
X10D |
4 |
DateTime |
X10D |
12 |
double |
X10D |
5 |
enum |
X10D |
2 |
float |
X10D |
5 |
short / ushort |
X10D |
15 |
int / uint |
X10D |
15 |
long / ulong |
X10D |
15 |
IList<T> |
X10D |
1 |
Random |
X10D |
1 |
SecureString |
X10D |
1 |
string |
X10D |
6 |
TimeSpan |
X10D |
1 |
System.Drawing.Image |
X10D.Drawing |
2 (+ async) |
UnityEngine.Material |
X10D.Unity |
1 |
System.Windows.Forms.Control |
X10D.WinForms |
1 |