Commit Graph

483 Commits

Author SHA1 Message Date
Oliver Booth c6f550d5a7 (#27) Move bounds exception to resource 2021-04-02 12:40:55 +01:00
Oliver Booth b36638d4df (#15) Unsigned are in signed namespace 2021-04-02 12:14:33 +01:00
Oliver Booth 6e0255f6cf Use explicit narrowing conversion 2021-04-02 12:11:01 +01:00
Oliver Booth 9e193e7142 Add ByteExtensions and SByteExtensions 2021-04-01 13:34:30 +01:00
Oliver Booth a8de6e1755 Refactor TimeSpanParse.Parse to .TryParse
Exception will no longer be thrown
2021-04-01 10:32:33 +01:00
Oliver Booth 27a370cffe Add float/double.ToBoolean 2021-03-16 15:02:41 +00:00
Oliver Booth 1ee7e59f91 (#38) Add short/int/long.Lerp 2021-03-16 14:46:49 +00:00
Oliver Booth c3cb8ba261 (#14) Enforce 130-char line length 2021-03-16 14:42:33 +00:00
Oliver Booth 4571697589 (#15) (#39) Match unsigned impl with signed 2021-03-12 13:24:30 +00:00
Oliver Booth cb40ecb22c (#15) Add usage example for bool.GetBytes 2021-03-12 13:19:52 +00:00
Oliver Booth 84706fe54b (#15) Add seealso in xmldoc 2021-03-12 13:19:31 +00:00
Oliver Booth 9b79d216f8 (#15) One-line WriteLine arguments for example 2021-03-12 12:04:51 +00:00
Oliver Booth 5dab9323b6 (#39) Use inline ternary instead of cast 2021-03-12 12:03:30 +00:00
Oliver Booth ef78f86b3a (#15) Add spacing between text and code for example 2021-03-12 12:02:26 +00:00
Oliver Booth 1dca7064d0 One-line returns node for xmldoc 2021-03-12 11:55:46 +00:00
Oliver Booth 49c037391a Fix return type on bool.ToDouble 2021-03-12 11:53:08 +00:00
Oliver Booth 8ddf3dfc30 (#14) Remove whitespace from empty lines 2021-03-12 11:28:19 +00:00
Oliver Booth db790920aa One-line example WriteLine invocation 2021-03-11 16:54:58 +00:00
Oliver Booth 4a88358f47 Internalise LerpInternal method 2021-03-11 16:46:02 +00:00
Oliver Booth 688058a7aa (#39) Explictly implement Lerp 2021-03-11 16:45:18 +00:00
Oliver Booth ae9306cf93 Rename param "angle" to "value" 2021-03-11 16:19:49 +00:00
Oliver Booth 3499457667 Add missing import for 8976993cee 2021-03-11 16:16:46 +00:00
Oliver Booth 8976993cee Aggressively inline LerpInternal 2021-03-11 16:15:57 +00:00
Oliver Booth f6b885b46b (#15) Improve xmldoc for IsOdd/IsEven 2021-03-10 14:57:49 +00:00
Oliver Booth 08e89d3ab0 (#15) Improve xmldoc for Deg <-> Rad methods 2021-03-10 13:02:44 +00:00
Oliver Booth 643a254b87 Ensure CLS compliance for method signature
Use overloads instead of optional parameters
2021-03-10 12:58:43 +00:00
Oliver Booth 227e807f14 (#15) Improve xmldoc for float/double.Round 2021-03-10 12:56:25 +00:00
Oliver Booth b8d9d880a8 Rename string.Random to string.Randomize
Implements better logic for generating a random string
2021-03-10 12:51:09 +00:00
Oliver Booth 00b751b555 LengthMustBePositiveValue -> LengthGreaterThanOrEqualTo0 2021-03-10 12:48:34 +00:00
Oliver Booth 88da1895f4 (#14) (#15) Rename param "str" to "value" 2021-03-10 12:22:20 +00:00
Oliver Booth 1b811cb18d (#38) Add Single/Double.LerpFrom/To/With 2021-03-10 12:17:23 +00:00
Oliver Booth 5b46523c51 (#15) Clarify xmldoc summary and returns 2021-03-10 11:34:54 +00:00
Oliver Booth 98aaf67d4b Honour NRT compliance 2021-03-10 11:33:36 +00:00
Oliver Booth a1af553c93 Cache exception message to prevent long line 2021-03-10 11:32:59 +00:00
Oliver Booth bc8081d0f9 Rename param "type" to "member" 2021-03-10 11:30:23 +00:00
Oliver Booth 4c5f02b221 (#15) Explicitly describe return value 2021-03-10 11:29:10 +00:00
Oliver Booth a3815a1e10 (#15) Rewrite xmldoc for Base64Encode/Decode 2021-03-10 11:27:32 +00:00
Oliver Booth f71efc424d Update Base64Encode/Decode internal call 2021-03-10 11:23:35 +00:00
Oliver Booth 61da369418 (#7) Move StringExtensions to child namespace 2021-03-10 11:21:49 +00:00
Oliver Booth d9017bab20 Add ExceptionMessages to csproj 2021-03-10 11:17:01 +00:00
Oliver Booth 5114b9d9a8 Repack LICENSE.md 2021-03-10 11:13:07 +00:00
Oliver Booth bc42ebbcd4 Allow unsafe blocks for project 2021-03-10 11:10:27 +00:00
Oliver Booth 9837940079 Remove redundant IsEnum check
where : Enum constraint should suffice
2021-03-10 11:09:10 +00:00
Oliver Booth f0ee53befb (#14) Use clearer variable and param names 2021-03-10 11:08:39 +00:00
Oliver Booth 9f9a79fd1b Remove unused Util class 2021-03-10 11:05:38 +00:00
Oliver Booth 24039d835c (#15) Rewrite EnumExtensions xmldoc 2021-03-10 11:01:35 +00:00
Oliver Booth 9f9e5c7461 (#7) Move EnumExtensions to child namespace 2021-03-10 10:52:18 +00:00
Oliver Booth 60ebcedcb6 (#7) Move sysnumerics Vector3 to child namespace
Avoids collision when importing both X10D.RandomExtensions and
X10D.Unity.RandomExtensions
2021-03-10 10:51:05 +00:00
Oliver Booth a32fe8cc4a (#35) Add Random.NextRotationUniform 2021-03-10 10:49:55 +00:00
Oliver Booth cb7673c9a4 (#35) Add Random.NextRotation 2021-03-10 10:10:22 +00:00