public virtual void PostLoadInit(AggregationPostLoadContext context) { if (context == null) { throw new ArgumentNullException(nameof(context)); } IsApplied = context.ProductSearchCriteria.Terms.Any(x => TermEquals(x)); }
public virtual void PostLoadInit(AggregationPostLoadContext context) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (Items != null) { foreach (var aggrItem in Items) { aggrItem.PostLoadInit(context); } } }