Skip to content

Add ImplementingType to RuleInfo object#1250

Merged
JamesWTruher merged 2 commits intoPowerShell:developmentfrom
JamesWTruher:RuleInfoEnhancement001
Jun 5, 2019
Merged

Add ImplementingType to RuleInfo object#1250
JamesWTruher merged 2 commits intoPowerShell:developmentfrom
JamesWTruher:RuleInfoEnhancement001

Conversation

@JamesWTruher
Copy link
Contributor

PR Summary

This will enable easier creation of settings file validation and settings file template creation.
Navigating to the actual implementation of the rule is quite difficult, by providing the implementing type of the rule, this becomes much easier. This is similar to how CmdletInfo works in PowerShell where there is an ImplementingType property on the CmdletInfo object.

This will enable a couple of things; first, we'll be able to create validation of settings file without translating the rule name to the type that implements (so you can very easily retrieve the configurable properties). Second, it will also be possible to write tools to create templates for settings.

PR Checklist

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants