public virtual void PostLoadInit(AggregationPostLoadContext context)
 {
     if (context == null)
     {
         throw new ArgumentNullException(nameof(context));
     }
     IsApplied = context.ProductSearchCriteria.Terms.Any(x => TermEquals(x));
 }
示例#2
0
 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);
         }
     }
 }