/// <summary> /// Initializes a new instance of the <see cref="TaxonomyService"/> class. /// </summary> /// <param name="logger">The logger.</param> public TaxonomyService(ILogger logger, ISiteTaxonomyCacheManager taxManager) { this.log = logger; this.taxManager = taxManager; this.log.Info("Creating new TaxonomyService instance"); }
/// <summary> /// Initializes a new instance of the <see cref="UserProfilePropertyHelper" /> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="taxonomyHelper">The taxonomy helper.</param> /// <param name="siteTaxonomyCacheManager">The site taxonomy cache manager.</param> public UserProfilePropertyHelper( ILogger logger, ITaxonomyHelper taxonomyHelper, ISiteTaxonomyCacheManager siteTaxonomyCacheManager) { this.logger = logger; this.taxonomyHelper = taxonomyHelper; this.siteTaxonomyCacheManager = siteTaxonomyCacheManager; }
/// <summary> /// Initializes a new instance of the <see cref="TaxonomyService" /> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="taxManager">The taxonomy manager.</param> public TaxonomyService(ILogger logger, ISiteTaxonomyCacheManager taxManager) { this.log = logger; this.taxManager = taxManager; }
/// <summary> /// Initializes a new instance of the <see cref="TaxonomyService" /> class. /// </summary> /// <param name="taxonomyCacheManager">The taxonomy cache manager</param> /// <param name="taxonomyHelper">The taxonomy helper to use.</param> public TaxonomyService(ISiteTaxonomyCacheManager taxonomyCacheManager, ITaxonomyHelper taxonomyHelper) { this.taxonomyCacheManager = taxonomyCacheManager; this.taxonomyHelper = taxonomyHelper; }