Commit Graph

1213 Commits

Author SHA1 Message Date
Oliver Booth 1712dbaa02
💄 Fix spacing between methods 2019-11-16 02:06:25 +00:00
Oliver Booth 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
Oliver Booth 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
Oliver Booth 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
Oliver Booth a01ef63ab0
💄Reformat files 2019-11-16 01:57:59 +00:00
Oliver Booth e537b9c727
Add ToBoolean()
ToBoolean() returns false if value is 0, true otherwise
2019-11-16 01:53:16 +00:00
Oliver Booth 445929e1b8
Add BooleanExtensions
ToInt32() returns 1 if value is true, 0 otherwise
2019-11-16 01:51:06 +00:00
Oliver Booth cae360edc3
Add Clamp() for integral types 2019-11-16 01:50:12 +00:00
Oliver Booth 44b6773cc8
🔥 Remove redundant else in ToSecureString 2019-11-16 01:47:39 +00:00
Oliver Booth 7c42f0632f
🔨 Add parameter to disambiguate ToString
Caller may want base SecureString.ToString()
2019-11-16 01:46:46 +00:00
Oliver Booth aebe23f611
⬆ Use C# 8.0 and target x64 2019-11-16 01:42:40 +00:00
Oliver Booth 0c79885796
🎨 Fix table markdown in README.md 2019-07-07 12:27:55 +01:00
Oliver Booth 1a8e1c8eaf
🎉 Initial commit 2019-07-07 12:23:48 +01:00