Commit Graph

1036 Commits

Author SHA1 Message Date
Oliver Booth 66d68b01bf
Add ToInt16 and ToInt64 in BooleanExtensions 2020-04-18 23:38:33 +01:00
Oliver Booth 6be765a92d
🔨 Cast result instead of literals ToByte() 2020-04-18 23:30:09 +01:00
Oliver Booth e7bf572d09
🚨 Minor refactor in BooleanTests.cs
* const bool in Not()
* rename Xor() to XOr()
* conform XNOr() documentation
2020-04-18 23:14:48 +01:00
Oliver Booth 4461272f59
📕 Reword XML-doc in BooleanExtensions.cs 2020-04-18 23:13:30 +01:00
Oliver Booth be5f450dbf
🎨 Ensure line length does not exceed 120 chars 2020-04-18 23:07:05 +01:00
Oliver Booth 1bee1952f9
🎨 Alphabetize method definitions 2020-04-18 23:05:57 +01:00
Timathy a0de8ceb11
Add logical operations in BooleanExtensions
Methods include:
* And
* Or
* Not
* XOr
* NAnd
* NOr
* XNOr
2020-04-18 22:50:26 +01:00
Oliver Booth 7e0de45b64
🚨 Fix ByteTests.GetString
Use unicode codepoint instead of raw literal
2020-04-18 17:43:51 +01:00
Oliver Booth c7aeee1572
📚 Update README.md
* Add preliminary documentation of most extension methods
* Include table of contents
* Add shields.io badges
2020-04-18 17:36:37 +01:00
Oliver Booth f117090a80
👷‍♂️ Add GitHub CI 2020-04-18 14:48:32 +01:00
Oliver Booth 9c061eacf1
🔥 Remove Drawing, WinForms and Unity projects 2020-04-18 14:46:05 +01:00
Oliver Booth f200765280
🔨 Warn about RCS1177 2020-04-18 14:44:56 +01:00
Oliver Booth c11a4cccce
🏷 Bump to v2.0.0 2020-04-18 14:44:10 +01:00
Oliver Booth c7aff94982
🎯 Target .NET Standard 2.1 2020-04-18 14:43:42 +01:00
Oliver Booth 5015aeb35b
🎨 Fix XML indentation 2020-04-18 14:43:16 +01:00
Oliver Booth 5dee02ba79
Add FxCop and StyleCop analyzers 2020-04-18 14:42:47 +01:00
Oliver Booth 686b915be8
Add MSTests project 2020-04-18 14:41:53 +01:00
Oliver Booth 90f0e7efd4
🎨 Ensure codebase is StyleCop & FxCop compliant 2020-04-18 14:38:27 +01:00
Oliver Booth a2f113237d
🛠 Various code cleanup
* Remove obsolete methods
* Fix implementation of DateTime.Last
* Reword XMLDoc for DateTime.Age
* Add overload for DateTime.Age to support "as of" parameter
2020-04-18 14:36:44 +01:00
Oliver Booth 11bc2415fc
🔨 Improve exception handling and rethrowing 2020-04-18 14:34:42 +01:00
Oliver Booth 373313f07e
Change IE<byte>.Chunkify to IE<T>.Split
Thereby adding support for any IEnumerable<T>, and naming
convention is consistent with .NET and removes warnings of a
non-existent word
2020-04-18 14:31:29 +01:00
Oliver Booth ba2e34a755
🔥 Remove obsolete methods 2020-04-18 14:29:03 +01:00
Oliver Booth 7b06abc253
🔨 Add static Random instance to RandomExtensions
To prevent creating new instances on every method call, library now
refers to a single static Random instance, when a random operation
is needed.
2020-04-18 14:27:15 +01:00
Oliver Booth f0f346056a
🌐 Add culture-specific support 2020-04-18 14:23:56 +01:00
Oliver Booth 5f8458f185
🛠 Pre-allocate StringBuilder capacity 2020-04-17 18:03:50 +01:00
Oliver Booth 3afc1d967c
🔨 Fix SA1121 violation 2020-04-17 18:02:11 +01:00
Oliver Booth 0b85fa05e4
🔨 Fix SA1124 violation 2020-04-17 17:58:29 +01:00
Oliver Booth ea3a1d2bbe
🏷 Bump to 1.2.2-alpha.2 2019-12-27 01:19:52 +00:00
Oliver Booth 02e9589b4f
Add String.ToTimeSpan 2019-12-27 01:19:19 +00:00
Oliver Booth ee3af80aca
🔨 Fix paramName in ArgumentException ctor 2019-12-25 13:56:16 +00:00
Oliver Booth b17a08babf
🏷 Bump to 1.2.1 2019-12-25 13:55:20 +00:00
Oliver Booth 1e1aa0738a
🔨 Un-deprecate StringExtensions.EnumParse
Humanizer package doesn't necessarily return correct results
2019-12-25 13:54:54 +00:00
Oliver Booth 5e0cff8b81
🏷 Bump to 1.2.0 2019-12-24 16:16:59 +00:00
Oliver Booth 05edb47f92
Add IEnumerable<byte>.Chunkify(int) 2019-12-24 16:16:40 +00:00
Oliver Booth ec3ee98c85
🔥 Remove unused using 2019-12-24 16:15:10 +00:00
Oliver Booth 4da7484ed4
Add String.Shuffle 2019-12-18 13:05:53 +00:00
Oliver Booth 42b59131a0
Add Char[].Random and String.Random 2019-12-18 13:05:44 +00:00
Oliver Booth 736a996837
⬆ Bump to 1.2.0-alpha 2019-12-18 13:05:03 +00:00
Oliver Booth 33fff6be51
💩 Deprecating API found in Humanizer package 2019-12-18 13:04:23 +00:00
Oliver Booth 4c94fd32a6
📚 Fix README table formatting 2019-12-17 18:37:24 +00:00
Oliver Booth bf3f97f3f2
🏷 Bump to 1.1.0 2019-12-17 13:06:39 +00:00
Oliver Booth 1314901d25
🎨 Add package icon 2019-12-17 13:06:23 +00:00
Oliver Booth d14770c184
🔨 Rename SetTime to WithTime 2019-12-17 12:49:32 +00:00
Oliver Booth 61f84b93cf
🚚 Moved source into src/ 2019-12-17 12:22:25 +00:00
Oliver Booth 7777409b26
📜 Add LICENSE to project 2019-12-17 12:08:46 +00:00
Oliver Booth 0bdfbf6b75
Add package info 2019-12-17 12:06:33 +00:00
Oliver Booth 71be8871a7
⬆ <LangVersion> use 8.0 2019-12-17 11:55:59 +00:00
Oliver Booth 965054963c
📚 Fix XML doc
"lower" is exclusive arg
2019-12-17 11:54:06 +00:00
Oliver Booth f66c08425f
Add Control.GetAllControls 2019-12-17 11:53:37 +00:00
Oliver Booth d246abd397
🔨 Reduce code complexity in DateTime.Last 2019-12-17 11:51:24 +00:00