Commit Graph

556 Commits

Author SHA1 Message Date
Oliver Booth 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
Oliver Booth 27e82bada1
📚 Add CHANGELOG.md 2020-04-20 14:00:20 +01:00
Oliver Booth 03698786fc
📚 Add "Contributing" to README ToC 2020-04-19 16:31:41 +01:00
Oliver Booth 4165e4e8b9
📚 Add CONTRIBUTING.md 2020-04-19 16:29:31 +01:00
Oliver Booth 430eadee57
Add tests for StringExtensions 2020-04-19 16:16:28 +01:00
Oliver Booth 30e53b2cec
🔀 Merge branch master 2020-04-19 15:11:22 +01:00
Oliver Booth d1e32e93d1 🐞 Add assignee and label to request template 2020-04-19 15:10:29 +01:00
Oliver Booth f5fdf8daf3
🔀 Merge branch master 2020-04-19 14:59:38 +01:00
Oliver Booth 3a615124ce 🐞 Add issue templates 2020-04-19 14:58:25 +01:00
Oliver Booth 4df2543181
Add Roslynator.Analyzers 2020-04-19 14:31:29 +01:00
Oliver Booth 5821094569
🏷 Bump to 2.1.1-alpha 2020-04-19 14:18:46 +01:00
Oliver Booth 31850220cc
🛠 Resolve RCS1277 violation 2020-04-19 14:17:33 +01:00
Oliver Booth 4c30c8228b
📕 Document return values in DateTimeExtensions 2020-04-19 14:14:59 +01:00
Oliver Booth 2dab2f30bb
🖼 Move string literals to project resource file 2020-04-19 14:14:29 +01:00
Oliver Booth 5034e1ceb4
👍 CLSCompliant assemblies 2020-04-19 14:13:46 +01:00
Oliver Booth 1780ae3a40
📕 Add XMLDoc to TimeSpanParserTests 2020-04-19 14:11:28 +01:00
Oliver Booth b1a69a7711
🔨 Add code analysis ruleset 2020-04-19 14:10:42 +01:00
Oliver Booth 754486c568
📚 Update NuGet package version in README.md 2020-04-18 23:49:37 +01:00
Oliver Booth f145756632
🏷 Bump to 2.1.0 2020-04-18 23:39:41 +01:00
Oliver Booth bf779bafec
Add ToInt16 and ToInt64 in BooleanTests 2020-04-18 23:39:04 +01:00
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