Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProductContentQueryBuilder"/> class.
 /// </summary>
 /// <param name="cachedQuery">
 /// The <see cref="ICachedProductQuery"/>.
 /// </param>
 public ProductContentQueryBuilder(ICachedProductQuery cachedQuery)
 {
     Ensure.ParameterNotNull(cachedQuery, "The ICachedProductQuery was null");
     _cachedQuery = cachedQuery;
     this.Initialize();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProductContentQuery"/> class.
 /// </summary>
 /// <param name="query">
 /// The <see cref="ICachedProductQuery"/>.
 /// </param>
 public ProductContentQuery(ICachedProductQuery query)
 {
     Ensure.ParameterNotNull(query, "The CachedProductQuery cannot be null");
     _query = query;
 }