FiniteReality
dadba5065a
C#7 features in commands, CommandInfo in ModuleBase
8 years ago
Finite Reality
cce572c600
Include names in command builder exceptions ( #663 )
8 years ago
RogueException
ba1982a3f9
Replaced DependencyMap with ServiceCollection and IServiceProvider ( #625 )
8 years ago
Christopher F
6000b15c4d
C#7 TODOs
8 years ago
RogueException
1c6eebf875
Ensure command completes before cleaning up
8 years ago
RogueException
a6469e9021
Add support for void-returning commands
9 years ago
RogueException
bceb72dd92
Typo
9 years ago
RogueException
17ba8fe4d0
Better handle the primary alias.
9 years ago
RogueException
14f0535a43
Improved typereader not found message
9 years ago
Joe4evr
f80687ef0e
Fix ParameterInfo.Type sometimes being null
9 years ago
Joe4evr
c2599977a5
Add BeforeExecute/AfterExecute methods to ModuleBase
9 years ago
RogueException
c9a12cde10
Added default alias when GroupAttribute isn't provided
9 years ago
RogueException
032c9e007c
Do not add null aliases
9 years ago
RogueException
2c075e186a
Added support for custom ModuleBase command contexts. Added SocketCommandContext/RpcCommandContext.
9 years ago
RogueException
1965c0539a
Added support for concrete Rest/Socket/RPC classes in command params
9 years ago
RogueException
ae3ada84c4
Renamed ModuleBuilder.AddAlias -> AddAliases
9 years ago
RogueException
c1a9bdc142
Cleaned up alias permutations, fixed empty aliases
9 years ago
RogueException
d623b18dff
Added AddParameter<T>. Fixed AddParameter ignoring default typereaders.
9 years ago
RogueException
8f87b2cc71
Added support for .NET Standard 1.1 and 1.2
9 years ago
FiniteReality
b4f8b0601f
Fix #408
A.K.A. "FiniteReality is a twat"
9 years ago
RogueException
803b65212e
Merge pull request #364 from FiniteReality/feature/parameter-tweaks
Parameter preconditions and typereader overriding
9 years ago
FiniteReality
704b2b75f4
Fix changes after review
9 years ago
FiniteReality
254e874c99
Fix OverrideTypeReader
This commit also adds a TypeReaders property to CommandService, so
it is possible to see all of the registered TypeReaders. This makes
it possible for users to implement their own parsing instead of
using the built-in parsing.
9 years ago
FiniteReality
b7a5ee6542
Parameter preconditions and typereader overriding
9 years ago
james7132
790ca10d17
Fix accidental line join
9 years ago
james7132
0771fcce63
Add Parent property to ModuleInfo
9 years ago
FiniteReality
5cdda592c1
Add requested changes
9 years ago
FiniteReality
05fb81c617
Fix a bunch of issues with aliases
9 years ago
FiniteReality
fd5e237b41
Fix commands from being created with invalid aliases
9 years ago
RogueException
593ba46f1c
Cleaned up command builders and async func names
9 years ago
FiniteReality
de645548a9
Complete command builders implementation
In theory this should just work, more testing is needed though
9 years ago
FiniteReality
6d46347ebc
Finish implementation of command builders
9 years ago
FiniteReality
ab95ced41d
Use default TypeReader if not overriden
9 years ago
FiniteReality
d25fbf78c0
Use lambda-style subbuilders
9 years ago
FiniteReality
af433c82cc
Complete builders, start work on using them
9 years ago
FiniteReality
f95154af23
Start work on command builders
Right now commands require a module before they can be created;
I'm looking to remove this in the future.
9 years ago