mirror of https://github.com/dapr/dotnet-sdk.git
* Implement dependency injection for Actors Fixes: #171 This change allows Actors to accept dependency-injected services through constructor parameters. There are numerous breaking changes in this PR that are visible to user code. In most cases these are simplifications. For example the Actor base class accepted 3 constructor parameters, which meant that every subclass (every actor type) also had 3 constructor parameters. This isn't fun and becomes way less fun now that users can add their own constructor parameters in a meaningful way. As another example, we had multiple places where "runtime options" lived that had different interaction patterns. Now there's a single options type and you interactive with it through UseActors(...). * address PR feedback * React to API change |
||
|---|---|---|
| .. | ||
| ActivationTests | ||
| Dapr.Actors.AspNetCore.IntegrationTest.App.csproj | ||
| Program.cs | ||
| Startup.cs | ||