1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-27 00:38:47 +00:00
Commit Graph

367 Commits

Author SHA1 Message Date
8c39914547
Add Random.CoinToss()
CoinToss() returns true if the next random number == 2, false otherwise
2019-11-16 11:01:00 +00:00
5da34dd762
Add month-based DateTime returns for Int32 2019-11-16 11:00:02 +00:00
120ea9562e
Add ListExtensions.Shuffle<T>()
Shuffle<T>() returns the source enumerable ordered randomly
2019-11-16 02:12:15 +00:00
cd04c1b66f
🔨 Add meaningful implementation of Ago()
Ago() now returns a human-readable string instead of a DateTime
2019-11-16 02:10:16 +00:00
1712dbaa02
💄 Fix spacing between methods 2019-11-16 02:06:25 +00:00
90e4552415
Add EndPointExtensions
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.
2019-11-16 02:04:47 +00:00
d037b7f948
Add ListViewExtensions
MoveToTop() moves the selected list item to the top of the list view by
removing the item, and inserting it at index 0.
2019-11-16 02:01:31 +00:00
ac10a5912e
Add StreamExtensions
GetHash<T>() computes the hash of the given stream using the specified
hashing algorithm.
2019-11-16 02:00:05 +00:00
a01ef63ab0
💄Reformat files 2019-11-16 01:57:59 +00:00
e537b9c727
Add ToBoolean()
ToBoolean() returns false if value is 0, true otherwise
2019-11-16 01:53:16 +00:00
445929e1b8
Add BooleanExtensions
ToInt32() returns 1 if value is true, 0 otherwise
2019-11-16 01:51:06 +00:00
cae360edc3
Add Clamp() for integral types 2019-11-16 01:50:12 +00:00
44b6773cc8
🔥 Remove redundant else in ToSecureString 2019-11-16 01:47:39 +00:00
7c42f0632f
🔨 Add parameter to disambiguate ToString
Caller may want base SecureString.ToString()
2019-11-16 01:46:46 +00:00
aebe23f611
⬆ Use C# 8.0 and target x64 2019-11-16 01:42:40 +00:00
0c79885796
🎨 Fix table markdown in README.md 2019-07-07 12:27:55 +01:00
1a8e1c8eaf
🎉 Initial commit 2019-07-07 12:23:48 +01:00