Forum Discussion
KH1 I would use parameters to signal decision logic which object to invoke via the service factory. If you delegate this to yet another object, you've made an already complicated solution to a simple requirement even more complicated by using one factory pattern to to call another factory pattern to then call the actual business logic.
That said, I'm still figuring out how to or if I should make use of the 'itemName' parameter in the CreateWsAssemblyServiceInstance method signature.
Note: "parameter" here refers to the arguments in a method signature, not workspace parameters.
e.g. 'nameList' in: public function GetIds(nameList as List(Of String)) as String
I'm in a similar boat trying to figure out how to use an assembly to run logic for a DataManagement Step.
Related Content
- 5 months ago
- 2 years ago
- 4 months ago
- 9 months ago