/// <summary> /// Initializes the service. /// </summary> /// <param name="merchelloContext"> /// The <see cref="IMerchelloContext"/>. /// </param> /// <param name="resolver"> /// The <see cref="IEntityCollectionProviderResolver"/>. /// </param> private void Initialize(IMerchelloContext merchelloContext, IEntityCollectionProviderResolver resolver) { this._filterProviderKeys = resolver.GetProviderKeys<IEntityFilterGroupProvider>().ToArray(); this._primedTree = new PrimedProductFilterGroupTree(merchelloContext, this.All); }
/// <summary> /// Initializes the service. /// </summary> /// <param name="merchelloContext"> /// The <see cref="IMerchelloContext"/>. /// </param> /// <param name="resolver"> /// The <see cref="IEntityCollectionProviderResolver"/>. /// </param> private void Initialize(IMerchelloContext merchelloContext, IEntityCollectionProviderResolver resolver) { this._filterProviderKeys = resolver.GetProviderKeys <IEntityFilterGroupProvider>().ToArray(); this._primedTree = new PrimedProductFilterGroupTree(merchelloContext, this.All); }