1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-10-18 20:06:10 +00:00
Commit Graph

393 Commits

Author SHA1 Message Date
61f84b93cf
🚚 Moved source into src/ 2019-12-17 12:22:25 +00:00
7777409b26
📜 Add LICENSE to project 2019-12-17 12:08:46 +00:00
0bdfbf6b75
Add package info 2019-12-17 12:06:33 +00:00
71be8871a7
⬆ <LangVersion> use 8.0 2019-12-17 11:55:59 +00:00
965054963c
📚 Fix XML doc
"lower" is exclusive arg
2019-12-17 11:54:06 +00:00
f66c08425f
Add Control.GetAllControls 2019-12-17 11:53:37 +00:00
d246abd397
🔨 Reduce code complexity in DateTime.Last 2019-12-17 11:51:24 +00:00
d2208f2f6a
Add Int64.IsPrime 2019-12-17 11:50:54 +00:00
b0e5073b39
Add DictionaryExtensions 2019-12-17 11:50:27 +00:00
b2455d1bcd
Add IsEven and IsOdd for integral types 2019-12-16 17:55:55 +00:00
9844bccd28
🔥 Remove TimeSpan.Ago
Humanizer package fulfills this feature
2019-12-16 17:54:19 +00:00
a699446112
Add String.Split(int chunkSize) 2019-12-11 00:14:15 +00:00
9b5e02b5a1
🐞 Fix invalid reference 2019-11-19 15:29:29 +00:00
ea7fb5953c
📚 Update README and add children README files 2019-11-19 15:25:12 +00:00
75a37d44d4
🔨 Use block bodies instead of expression bodies 2019-11-19 15:15:32 +00:00
a67fd274fa
🐞 Fix bug ensuring timestamp is UTC 2019-11-16 20:18:19 +00:00
10fea0b372
🔨 Use DateTimeOffset to convert Unix timestamps 2019-11-16 20:16:47 +00:00
0344851c32
⬆ Build against .NET Standard 2.0 2019-11-16 20:11:06 +00:00
e9f0a94cad
🔥 Remove Days() from IComparable 2019-11-16 11:18:19 +00:00
c3d1b035c0
📚 Use consistent XML doc wording across classes 2019-11-16 11:17:31 +00:00
bb2dedccad
📚 Add XML doc to StructExtensions 2019-11-16 11:15:21 +00:00
d1d89de250
Add IList<T> overloads for Shuffle<T>() 2019-11-16 11:11:03 +00:00
3b0c304f54
🔨 Call Array.Empty<T>() in Stream.GetHash<T>() 2019-11-16 11:09:04 +00:00
a14de1fa96
🔨 Rename unused lambda parameter in Shuffle() 2019-11-16 11:07:53 +00:00
2df13450a0
🔨 Call overloads to reduce code duplication 2019-11-16 11:04:02 +00:00
ae4f7f7b38
🔨 Call OneOf() overload to reduce duplication 2019-11-16 11:02:20 +00:00
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