| RuleSetFactoryFromDirectory Method (DirectoryInfo, Boolean) |
Creates a
IRuleSet from a folder structure
Namespace: FlexRule.Core.ModelAssembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntaxpublic static IRuleSet FromDirectory(
DirectoryInfo directory,
bool includeRoot = true
)
Parameters
- directory
- Type: System.IODirectoryInfo
- includeRoot (Optional)
- Type: SystemBoolean
When true, the provided directory will not be a root of IRuleSet
Return Value
Type:
IRuleSet
See Also