-
Notifications
You must be signed in to change notification settings - Fork 8
Get Unique Condition Types
João Romeiro edited this page Apr 23, 2023
·
1 revision
This page focus on how to get the condition types associated with rules of a specific content type using Rules.Framework.
Get the unique condition types associated with rules of a specific content type and period.
GetUniqueConditionTypesAsync(TContentType contentType, DateTime dateBegin, DateTime dateEnd)
A set of rules is requested to rules data source and all conditions are evaluated against them to provide a set of matches. All rules matching supplied conditions are returned.
GetConditionTypes(IEnumerable<Rule<TContentType, TConditionType>> matchedRules)
If no conditions are found an empty list is returned