Commit Graph

25 Commits

Author SHA1 Message Date
Oliver Booth 9b6890b46f
style: organise using directives 2024-06-18 15:42:58 +01:00
Oliver Booth 2669b5083d
refactor!: revert to 397ec2bcf9 2024-05-30 19:36:57 +01:00
Oliver Booth ff298a8af5
refactor!: extract interface for Message
This commit also amends the previous commit, where files relevant for User were missed
2024-03-17 13:28:42 +00:00
Oliver Booth 338e338155
refactor!: remove VirtualParadise prefix from entities 2024-03-17 12:40:23 +00:00
Oliver Booth 5ffc7a5a3b
refactor: replace throw helper with explicit null check 2024-02-15 22:38:48 +00:00
Oliver Booth 7084fc3f4a
style: reduce complexity of command arg parsing 2023-05-08 15:59:39 +01:00
Oliver Booth 1f761668f7
fix(commands): swap out unreferenced MessageReceivedEventArgs 2023-05-08 15:44:06 +01:00
Oliver Booth 65a9a0e1e3
feat(commands): add support for optional args 2023-05-06 16:00:41 +01:00
Oliver Booth 487bb8ca88
feat(commands): add support for enums and other arg types 2023-05-06 15:56:16 +01:00
Oliver Booth 2fc22fa8a6
Move instance creation to VpSharp base
Introduces internal DepdencyInjectionUtility class
2022-12-10 13:40:47 +00:00
Oliver Booth 29ed6155a5
Validate parameter length before invoking 2022-12-08 18:31:06 +00:00
Oliver Booth d82a4d2e5e
Add pre-execution checks 2022-12-05 01:43:40 +00:00
Oliver Booth 335f3f8c66
Remove debug IO 2022-11-30 21:37:17 +00:00
Oliver Booth 3c5091e040
I don't even need to explain this one
But in case you're curious: https://en.wikipedia.org/wiki/Off-by-one_error

TL;DR I am stupid
2022-11-30 21:13:41 +00:00
Oliver Booth c7709d9b93
Validate not-null ctor args 2022-11-30 20:57:39 +00:00
Oliver Booth 5b6bbac689
Add support for dependency injection 2022-11-30 20:54:22 +00:00
Oliver Booth 4f123d384e
Order members alphabetically 2022-11-30 18:53:19 +00:00
Oliver Booth 7e69bdce39
Use explicit type when not apparent 2022-11-30 18:52:49 +00:00
Oliver Booth 548a5de2be
Don't use base Exception 2022-11-30 18:47:57 +00:00
Oliver Booth 80679fa8c4
Add missing xmldoc 2022-11-30 18:46:02 +00:00
Oliver Booth 88483373ee
Fix spacing 2022-11-30 18:25:05 +00:00
Oliver Booth cfd1e4c208
Validate non-null arguments for public API 2022-11-30 18:16:37 +00:00
Oliver Booth 99c08f33ed
Use IReadOnlyList<T> instead of T[] for public API 2022-11-30 18:03:00 +00:00
Oliver Booth 55512d6c8d
throw on null client 2022-11-29 15:15:02 +00:00
Oliver Booth 535f9fb9e8
Add Commands extension 2022-11-27 20:47:54 +00:00