/// <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);
 }
示例#2
0
 /// <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);
 }