Метод | Описание | |
---|---|---|
FindAllIncludesUnderRoot ( RuleSet ruleSet, string rootDirectory ) : IEnumerable |
Find all the RuleSetInclude, for a ruleSet, which are referencing rule sets under rootDirectory
|
|
FindInclude ( RuleSet source, RuleSet target ) : RuleSetInclude |
Return a non-nested include from source to target
|
|
UpdateExistingProjectRuleSet ( RuleSet ruleSet, string solutionRuleSetPath ) : void |
Updates the ruleSet by deleting all the previously included rule sets that were in the same folder as solutionRuleSetPath and then includes the rule set specified by solutionRuleSetPath. The update is in-memory to the ruleSet and we rely on the fact that we previously generated the 'solutionRuleSet' to the same folder as the updated solutionRuleSetPath |
Метод | Описание | |
---|---|---|
RemoveAllIncludesUnderRoot ( RuleSet ruleSet, string rootDirectory ) : void |
Remove all rule set inclusions which exist under the specified root directory.
|
public static FindAllIncludesUnderRoot ( RuleSet ruleSet, string rootDirectory ) : IEnumerable |
||
ruleSet | RuleSet | |
rootDirectory | string | |
Результат | IEnumerable |
public static FindInclude ( RuleSet source, RuleSet target ) : RuleSetInclude | ||
source | RuleSet | Required |
target | RuleSet | Required |
Результат | RuleSetInclude |
public static UpdateExistingProjectRuleSet ( RuleSet ruleSet, string solutionRuleSetPath ) : void | ||
ruleSet | RuleSet | Existing project level rule set |
solutionRuleSetPath | string | Full path of solution level rule set (one that was generated during bind) |
Результат | void |