Click or drag to resize
RuleSetFactoryFromDirectory Method (DirectoryInfo, Boolean)
Creates a IRuleSet from a folder structure

Namespace: FlexRule.Core.Model
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public 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