Quantcast
Channel: Dependency injection / IoC in Workflow Foundation 4 - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Maurice for Dependency injection / IoC in Workflow Foundation 4

Workflow doesn't use an IOC container. It uses the ServiceLocator pattern where you add dependencies to the workflow runtime as extensions and workflow activities and retrieve these services from the...

View Article



Dependency injection / IoC in Workflow Foundation 4

Is it possible to use DI in your workflow activities? and if yes, how?For example if you have an activity likepublic sealed class MyActivity : CodeActivity{ public MyClass Dependency { get; set; }...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images