PowerShell / PowerShellStandard

MIT License
158 stars 23 forks source link

Dependency Injection in Cmdlets #58

Closed TraGicCode closed 3 years ago

TraGicCode commented 5 years ago

Is it possible or could a feature be done that allows the ability to perform dependency injection inside of our cmdlet's to ease the testing procesS?

JamesWTruher commented 5 years ago

@TraGicCode what would that look like? I'm not quite sure what you need to see in the nuget package.

rjmholt commented 3 years ago

@TraGicCode you're looking for a feature in PowerShell -- I would move this issue there. The PowerShell runtime is responsible for constructing cmdlets, and https://github.com/PowerShell/PowerShell is where new features are being added to that runtime. Note that:

TraGicCode commented 3 years ago

Hey,

Sorry for not getting back to this quickly enough. I’m only with closing this out since it’s not something I’ll be working or using anytime soon