1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-15 05:45:41 +00:00
Commit Graph

1097 Commits

Author SHA1 Message Date
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
1d74f7f896
Add Stryker tool
https://stryker-mutator.io/
2022-02-22 14:39:54 +00:00
f9b4c56f05 Remove X10D.Unity project from repo 2022-02-14 16:50:07 +00:00
191cbbe97c (#45) Use file-scoped namespaces 2022-02-14 16:42:49 +00:00
c014b7d410 (#14) Use explicit type
Use implicit using
2022-02-14 16:32:30 +00:00
1c0768c472 Remove legacy tests 2022-02-14 16:25:59 +00:00
64bcb34a11 Introduce Between clusivity 2022-02-14 16:24:14 +00:00
6c27227c3e Remove char.Random test 2022-02-14 16:04:57 +00:00
e0e7965557 Remove old tests 2022-02-14 16:03:55 +00:00
0e8af01a9d Remove bool->unsigned methods 2022-02-14 16:03:38 +00:00
334e706b68 (#46) Add string.IsPalindrome 2022-02-14 15:57:29 +00:00
7fd1b88acf (#14) Use explicit type 2022-02-14 15:53:50 +00:00
7c05af1fde Remove To/From boolean methods
Consumers should cast to IConvertible and call already-existing method
2022-02-14 15:52:03 +00:00
a8087771c8 Swap via deconstruction 2022-02-14 15:45:52 +00:00
a73ec546d1 (#14) Use explicit type where non-evident 2022-02-14 15:45:28 +00:00