james7132
73f00eb0d7
Ensure injected properties have public setters
8 years ago
Christopher F
6352cbebef
Add TryAdd to DependencyMaps
8 years ago
Christopher F
40ede62e4d
Remove Auto-Injection
this should be handled by #520
8 years ago
james7132
145ae1518b
Fix properties not being set properly on injection
8 years ago
james7132
f1df412341
Change whitelist injection into blacklist injection
8 years ago
james7132
f0b4c24e82
Add InjectAttribute for annotating injectable properties
8 years ago
james7132
a551064eaf
Add IDependencyMap injection for public properties
8 years ago
Aaron Scherer
858af5e8bb
Typo
9 years ago
Joe4evr
f80687ef0e
Fix ParameterInfo.Type sometimes being null
9 years ago
Joe4evr
ea298875af
Actually mark the methods virtual #derp
9 years ago
Joe4evr
c2599977a5
Add BeforeExecute/AfterExecute methods to ModuleBase
9 years ago
RogueException
55e9c7da5c
Merge pull request #482 from FiniteReality/issue/462
Ensure aliases are built in the correct order
9 years ago
RogueException
deb755dd3d
Merge pull request #488 from FiniteReality/issue/487
Replace ConcurrentBag<T> with HashSet<T>
9 years ago
RogueException
34139c9b59
Converted Discord.Net to a metapackage
9 years ago
RogueException
eb2a946dd6
Updated to 1.0.0-rc3 tooling
9 years ago
RogueException
3bc2520095
Abandon VersionSuffix
9 years ago
RogueException
24663605f6
Fixed CI detecting all packages as dev
9 years ago
RogueException
b0db37cad6
Versions are hard
9 years ago
RogueException
3046b62c94
Cleaned up csproj/sln/scripts
9 years ago
RogueException
7c5fe79333
Updated build script
9 years ago
RogueException
fe35400498
Cleanup
9 years ago
RogueException
00bb3c9d70
Removed project.jsons
9 years ago
FiniteReality
0715cb6623
Actually use HashSet<T> to initialize _moduleDefs
9 years ago
FiniteReality
a65ba095af
Replace ConcurrentBag<T> with HashSet<T>
Fixes #487
9 years ago
FiniteReality
c2b50b56d8
Ensure aliases are built in the correct order
Fixes #462
9 years ago
RogueException
d06b7856f6
Fixed several package errors
9 years ago
RogueException
e2934abe29
Made API models internal. Removed Discord.Net.API.
9 years ago
RogueException
c9a12cde10
Added default alias when GroupAttribute isn't provided
9 years ago
RogueException
e3da623f39
Cleaned up alias generation
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
8326d01f62
Isolated API definitions to their own library
9 years ago
Christopher F
f64de4ab47
Merge pull request #431 from AntiTcb/issues/427
Issues/427 + AliasAttribute targets classes
9 years ago
AntiTcb
5118ed876b
Can target classes now.
9 years ago
AntiTcb
bc985ada92
Modules without aliases now default to an empty string alias
9 years ago
Confruggy
d27970113e
Update UserTypeReader.cs
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
5663e47db6
Added command separator char, improved passing search results to parser
9 years ago
RogueException
0d209b3fdb
Added internal error for if a matching alias cannot be found
9 years ago
Christopher F
604d69fb7f
Revert "Implement configurable command node separators"
9 years ago
Christopher F
b9b6ac36fe
Add docstrings, per volt's feedback
9 years ago
RogueException
18de2ecac7
Merge pull request #412 from FiniteReality/issue/304-v2
Implement configurable command node separators
9 years ago
RogueException
d623b18dff
Added AddParameter<T>. Fixed AddParameter ignoring default typereaders.
9 years ago
RogueException
2dd62ba5e7
Set DefaultRunMode to Sync
9 years ago
RogueException
b01200f929
Cleaned up primitive type readers. Fixed TimeSpan reader.
9 years ago
RogueException
8f87b2cc71
Added support for .NET Standard 1.1 and 1.2
9 years ago
Christopher F
7fb032c9d2
Make changes per discussion
Instead of using fields, we will now use properties (that must have a setter).
9 years ago
Christopher F
b33df6ad77
Add InjectAttribute, inject into fields flagged with it from DepMap
This allows users to flag a field with InjectAttribute, and when the module is created at runtime, this field will be filled in with the object from the dependency map.
9 years ago