1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-14 04:35:41 +00:00
Commit Graph

155 Commits

Author SHA1 Message Date
17f6a05c48 🚚 Move BooleanExtensions to child namespace
Item for #15, #17 and #19
2021-01-17 02:37:59 +00:00
db5512db59 🐎 De-Linqify ToConnectionString
Item for #12
2021-01-17 00:52:01 +00:00
3ad20fdb40 🐞 Fix for #20
Sanitize string input, rather than T. Call ToString() on dictionary value
2021-01-17 00:36:28 +00:00
6f26c04f6c 🚚 Rename StructExtensions to EnumExtensions 2021-01-16 15:06:48 +00:00
0512d7d568 Add IEnumerable<T>.Shuffled()
Shuffled() wraps Shuffle() and returns a new collection as the result.
Continuation of #18
2021-01-16 14:18:17 +00:00
9238459851 🐎 Implement Fisher-Yates for IList<T>.Shuffle()
Resolves #18 but leaves string.Shuffle unable to be compiled for now
2021-01-16 14:07:49 +00:00
db43993d56 🚚 Rename Random.CoinToss() to Random.NextBoolean()
Fixes #17 and part of #15
2021-01-16 13:54:42 +00:00
bbfdf39d09 🎨 Move using directives to outside-namspace
Item for #14

editorconfig:
csharp_using_directive_placement=outside_namespace:error
2021-01-16 13:43:47 +00:00
13bd4b7fe1 🗑 Remove SecureString methods
Resolves #16
2021-01-16 13:21:28 +00:00
568f272c34 🔧 Implement To(Numeric) conversion for byte
Instead of for int - other overloads now call ToByte and implicitly cast
2021-01-16 13:15:28 +00:00
c063ef6af4 🗑 Remove bool logical operator methods
Resolves #6
2021-01-15 01:55:15 +00:00
dee28392e3 📚 Fix 2.6.0 "Added" heading in CHANGELOG 2021-01-14 18:34:24 +00:00
f7664ba8a8 🗑 Remove IConvertible extension methods
Fully resolves #13
2021-01-14 18:31:16 +00:00
b7514fdead 🐎 Improve performancee on string.IsLower()
Item for #12
2021-01-14 18:18:52 +00:00
16fb54da31 🐎 Improve performancee on string.IsUpper()
Item for #12
2021-01-14 18:18:30 +00:00
14f600666b 🐎 Improve performance for string.Reverse
Item for #12
2021-01-14 17:09:39 +00:00
43e49d4826 Add .NET 5 support
Fixes #9
2021-01-14 16:43:21 +00:00
bb1715a0a7 🐞 Add tag link for 2.6.0 heading
Fixes #11
2021-01-14 16:14:20 +00:00
da4ec4cfc3 📚 Update CHANGELOG 2021-01-14 16:10:59 +00:00
Oliver Booth
8713821b8b
📚 Fix "dogfooding" definition link
Fix for #5
2021-01-03 13:30:19 +00:00
88eb4c0350 🏷 Bump to 2.6.0 2020-10-20 15:11:21 +01:00
01275e9c92 🛠 Enable NRT for X10D project 2020-10-20 15:09:48 +01:00
2cf508f253 🚨 Add tests for latest methods
AsNullIfEmpty
AsNullIfWhiteSpace
Reverse
WithAlternative
2020-10-20 15:08:20 +01:00
b424a4b8ec Add string.Reverse 2020-10-20 14:59:02 +01:00
1601084cb4 Add string.WithAlternative 2020-10-20 14:58:48 +01:00
6a1f05832e Add string.AsNullIfEmpty and string.AsNullIfWhiteSpace methods 2020-10-20 14:58:32 +01:00
00acaff779 🏷 Bump README version to 2.5.0 2020-07-15 16:36:42 +01:00
ad824debe0 🏷 Bump to 2.5.0 2020-07-15 16:10:00 +01:00
5bc71bd426 Add X10D.Unity 2020-07-15 14:33:40 +01:00
600b37fe82 🚚 Move X10D tests to Core namespace 2020-07-15 14:32:59 +01:00
ad1c2f5e7c 🏷 Bump to 2.5.0 2020-07-15 14:32:31 +01:00
773ac8590f ⬇ Downgrade target to .NET Standard 2.0 2020-07-15 14:31:26 +01:00
f8541fd239 🧹 Code style cleanup 2020-07-15 14:31:02 +01:00
e747921fb7 Add WaitHandle.WaitOneAsync 2020-07-15 14:03:23 +01:00
0b8d485514
👷‍♂️ Specify project in DocFX CI 2020-04-26 14:32:19 +01:00
4fc287c06e
Merge branch 'master' of https://github.com/oliverbooth/X10D 2020-04-26 14:28:01 +01:00
62c63c7c77
👷‍♂️ Add DocFX CI 2020-04-26 14:27:16 +01:00
Oliver Booth
8b043f0109 Set theme jekyll-theme-slate 2020-04-26 14:23:54 +01:00
2c898e5e3d
🐞 Fix version link in CHANGELOG.md 2020-04-21 04:42:06 +01:00
e3deb0f22b
📚 Update version in CHANGELOG.md 2020-04-21 04:23:44 +01:00
4b6d3a38b3
📚 Update NuGet version in README.md 2020-04-21 04:20:33 +01:00
b1b1309274
🏷 Bump to 2.2.0 2020-04-21 04:17:53 +01:00
cf317d30a8
📚 Update CHANGELOG.md 2020-04-21 04:17:28 +01:00
a591b91c6c
Add ReflectionTests 2020-04-21 04:17:19 +01:00
1ccb8b2457
Add ReflectionExtensions
- `GetDefaultValue` and `GetDefaultValue<T>` - gets the value stored in
the member's `DefaultValue` attribute
- `GetDescription`- gets the value stored in the member's `Description`
attribute
- `SelectFromCustomAttribute<T1, T2>` - Internally calls
`GetCustomAttribute<T1>` and passes it to a `Func<T1, T2>` so that
specific members may be selected
2020-04-21 04:16:46 +01:00
36d3014573
⚠ Treat warnings as errors 2020-04-21 03:45:02 +01:00
b19a672411
🔨 Suppress IDE0008 in ruleset 2020-04-21 03:38:36 +01:00
11ffa43810
Add string.IsUpper and string.IsLower
- IsLower:
Determines if all alpha characters in this string are considered
lowercase.

- IsUpper:
Determines if all alpha characters in this string are considered
uppercase.
2020-04-20 14:17:55 +01:00
72f9474e1c
🎖 Credit original author of string.EnumParse 2020-04-20 14:13:57 +01:00
5c447f1b02
Add string.ChangeEncoding
Converts this string from one encoding to another, by using the
previously defined .GetBytes and .GetString as intermediary methods
2020-04-20 14:01:48 +01:00