Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProductAccessProvider"/> class.
 /// </summary>
 /// <param name="portalContext">Configuration for FetchXML attributes</param>
 public ProductAccessProvider(IPortalContext portalContext)
     : base(ContentAccessConfiguration.DefaultProductFilteringConfiguration(), portalContext)
 {
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProductAccessProvider"/> class.
 /// </summary>
 /// <param name="portalContext">Configuration for FetchXML attributes</param>
 /// <param name="relationshipNamesDictionary">Semicolon delimited string of relationship names</param>
 /// <param name="relationshipMetadataDictionary">Relationship metadata that defines relationship attributes</param>
 /// <param name="siteSettingDictionary">Site Setting for Product Filtering</param>
 public ProductAccessProvider(IPortalContext portalContext, Dictionary <string, string> relationshipNamesDictionary, Dictionary <string, ProductAccessProvider.RelationshipMetadata> relationshipMetadataDictionary, Dictionary <string, string> siteSettingDictionary)
     : base(ContentAccessConfiguration.DefaultProductFilteringConfiguration(), portalContext, siteSettingDictionary)
 {
     this.relationshipNamesDictionary    = relationshipNamesDictionary;
     this.relationshipMetadataDictionary = relationshipMetadataDictionary;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProductAccessProvider"/> class.
 /// </summary>
 public ProductAccessProvider()
     : this(ContentAccessConfiguration.DefaultProductFilteringConfiguration())
 {
 }