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

811 Commits

Author SHA1 Message Date
00571983c6
Force precedence of constant arithemtic
(Relates to previous commit, forgot doubles. Leave me alone)
2022-04-20 18:39:13 +01:00
8f40dd8617
Force precedence of constant arithmetic 2022-04-20 18:37:02 +01:00
1fc22cc99c
Fix RadiansToDegrees formula 2022-04-20 18:36:16 +01:00
b107360190
Use MathF.PI instead of Math.PI with cast 2022-04-20 18:34:49 +01:00
facc0834f0
Separate unwrapped Enum.Next/Previous to Unchecked overloads 2022-04-20 18:16:59 +01:00
d9b60fbb94
Optimize debug builds 2022-04-20 17:35:56 +01:00
2a6df446c2
[ci skip] Format csproj 2022-04-20 17:35:21 +01:00
4c81c218d5
Remove preview features 2022-04-20 17:34:49 +01:00
950c30f267
Update MSTest and Test SDK 2022-04-20 17:33:22 +01:00
3aaee23ebe
Add (some) missing tests 2022-04-20 17:33:02 +01:00
2128814db1
[ci skip] Use explicit type in tests 2022-04-20 17:31:16 +01:00
928fa64ba4
Remove Random.NextInt64
This functionality is built in starting with .NET 6
2022-04-20 17:17:49 +01:00
ea08d0fb9e
[ci skip] Use meaningful parameter names (#14) 2022-04-20 17:11:55 +01:00
1c9bb0d82e
[ci skip] Order methods lexicographically 2022-04-20 17:10:40 +01:00
ed17ce175a
Use improved wording in xmldoc (#15) 2022-04-20 17:05:21 +01:00
6e1f08472d
null-check Random parameter (#42) 2022-04-20 17:04:37 +01:00
244f079133
Favour string.IsNullOrWhiteSpace over Length == 0 (#42) 2022-04-20 17:03:32 +01:00
b6ec67d91f
Remove internal Random in favour of static Shared 2022-04-20 17:02:35 +01:00
684fba043f
Remove IReadOnlyCollection<T>.Split
In the same vein as 0123ec60d6
2022-04-20 16:52:07 +01:00
a645f56204
[ci skip] Add test for Enumerable.Shuffled 2022-04-20 16:47:15 +01:00
c4b82c2619
[ci skip] Fix xmldoc for Shuffle/Shuffled (#15) 2022-04-20 16:46:02 +01:00
66e7e79561
Rename Clusivity enum to InclusiveOptions
https://sonarcloud.io/project/issues?fileUuids=AX9gUgFivY1Q2LeuiUva&pullRequest=43&id=oliverbooth_X10D&open=AX75E353Zn_cGN5aPZcQ
2022-04-20 16:35:44 +01:00
5b5fa42b46
[ci skip] Rename Clusivity.Exclusive to Clusivity.None
https://sonarcloud.io/project/issues?fileUuids=AX9gUgFivY1Q2LeuiUva&pullRequest=43&id=oliverbooth_X10D&open=AX75E353Zn_cGN5aPZcR
2022-04-20 16:33:11 +01:00
d8877a293e
[ci skip] Initialize Clusivity fields with explicit flag values
https://sonarcloud.io/project/issues?fileUuids=AX9gUgFivY1Q2LeuiUva&pullRequest=43&id=oliverbooth_X10D&open=AX75E353Zn_cGN5aPZcR
2022-04-20 16:31:33 +01:00
0123ec60d6
Remove IEnumerable<T>.Split(int)
This functionality has been introduced in .NET 6 with the Chunk method: https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.chunk?view=net-6.0
2022-04-20 16:26:15 +01:00
524f3ff092
Remove redundant throw of FileNotFoundException
OpenRead constructs a FileStream, this constructor throws the same exception
2022-04-20 15:35:09 +01:00
acf57bdfd6
[ci skip] Fix grammar in xmldoc (#15) 2022-04-20 15:20:01 +01:00
91b43790b3
Add selector parameter for key, value, or both (resolves #3)
Allows caller to specify a transformation to apply to key/value, presumably when either (or both) do not have an intended result of ToString
2022-04-20 15:17:33 +01:00
2325c45d84
[ci skip] Fix method naming, rewrite xmldoc (#14) (#15)
Uses coherent nullablility contract
2022-04-20 15:08:31 +01:00
e3af2ce91d
Join GET query with & not ; (fixes #48) 2022-04-20 14:56:00 +01:00
9bfb78a1d6
[ci skip] Ignore folders as namespace providers (#41) 2022-04-20 14:36:53 +01:00
0e63c3a107
Clarify xmldoc for GetHash 2022-04-20 14:32:48 +01:00
374933e45e
Add FileInfo.GetHash<T>
Wraps Stream.GetHash<T>, but saves the caller having to OpenRead themselves
2022-04-20 14:29:45 +01:00
5168948a1d
Use generic Enum.GetValues 2022-04-20 14:09:13 +01:00
3c60340bde
Add Product extension method
Computes the element-wise product, optionally with a transformation delegate
2022-04-20 14:07:16 +01:00
20ea3e46eb
[ci skip] show nightly nuget version 2022-04-20 13:11:36 +01:00
1b1556b7bb
Add StringBuilderReader
Implements a TextReader which reads from a StringBuilder, allowing consumers to iterate through it without consuming the result of StringBuilder.ToString()
2022-04-20 13:08:51 +01:00
ef0257277e
Update copyright year in license 2022-04-20 12:58:41 +01:00
fd1ebf6dba
[ci skip] Reword introductory paragraph 2022-04-20 12:57:59 +01:00
c6c202090a
[ci skip] no 50% width for banner image 2022-04-20 12:33:24 +01:00
33a7f4e00e
[ci skip] Add new README branding 2022-04-20 12:32:38 +01:00
e20be1ac9b
Change icon, add new banner image for README 2022-04-20 12:31:02 +01:00
cfa2eb7fa6
Use automatic versioning 2022-04-20 12:18:40 +01:00
e6364716a6
[github actions] update workflows, introduce nightly builds
Packages are pushed to both GitHub and nuget.org
2022-04-20 12:16:06 +01:00
5509305c5a
Update string.With*Alternative tests 2022-03-06 17:36:58 +00:00
4f99763a0a
Remove string.WithAlternative
Yeah... so I already had this method which accepted a bool, forgot about that.

But now it's separated into more meaningfully-named methods. So...

https://www.youtube.com/watch?v=oJimiVFCjJ0
2022-03-06 17:32:53 +00:00
45804c2da6
Add string.With*Alternative
Serves as a way to specify a custom alternative in cases where AsNullIf* does not satisfy
2022-03-06 17:31:22 +00:00
c151a9c754
(#42) throw on null value for string.Base64*code 2022-03-06 17:29:26 +00:00
3e11a209e7
(#15) Remove "Returns" from <returns> for string.Repeat 2022-03-06 17:28:12 +00:00
b2cf22efdf
(#15) Improve xmldoc for string.AsNullIfEmpty/WhiteSpace 2022-03-06 17:27:31 +00:00