public ConfigureSitecore(ISitecoreConfiguration scConfig, ILogger <ConfigureSitecore> logger) { _logger = logger; _appSettings = new AppSettings(); scConfig.GetSection(AppSettings.SectionName); scConfig.GetSection(AppSettings.SectionName).Bind(_appSettings.OktaIdentityProvider); }
public TestMessageBusConnection(IConsole console, ISitecoreConfiguration configuration) { this._console = console; var settings = new PluginSettings(); configuration.GetSection(PluginSettings.SectionName).Bind(settings); var sqlSettings = settings.SqlConnection; var activator = new BuiltinHandlerActivator(); var bus = Configure.With(activator) .Logging(l => l.ColoredConsole()) .Transport(t => t.UseSqlServer(sqlSettings.ConnectionString, sqlSettings.QueueName)) .Routing(r => r.TypeBased().MapAssemblyOf <TestMessage>(sqlSettings.QueueName) ) .Options(o => { o.SetNumberOfWorkers(0); o.SetMaxParallelism(1); }) .Subscriptions(s => s.StoreInSqlServer(sqlSettings.ConnectionString, "Sitecore_Subscriptions", true)) .Start(); this._bus = bus; }
public ConfigureSitecore(ISitecoreConfiguration scConfig, ILogger <ConfigureSitecore> logger) { this._logger = logger; this._settings = new AppSettings(); scConfig.GetSection(AppSettings.SectionName) .Bind((object)this._settings.AzureB2CIdentityProvider); }
public ConfigureSitecore(ISitecoreConfiguration configuration, ILogger <ConfigureSitecore> logger) { _configuration = configuration; _logger = logger; _rabbitMqConfiguration = new RabbitMQConfiguration(); _configuration.GetSection(_sectionName).Bind(_rabbitMqConfiguration); }
public ConfigureSitecore(ISitecoreConfiguration scConfig, ILogger <ConfigureSitecore> logger) { this._logger = logger; this._googleAppSettings = new GoogleAppSettings(); scConfig.GetSection(GoogleAppSettings.SectionName); scConfig.GetSection(GoogleAppSettings.SectionName).Bind((object)this._googleAppSettings.GoogleIdentityProvider); }
public ConfigureSitecore(ISitecoreConfiguration configuration, ILogger <ConfigureSitecore> logger) { // inject Sitecore Host logging service _logger = logger; // fetch settings from configuration files _appSettings = new AppSettings(); configuration.GetSection(AppSettings.SectionName).Bind(this._appSettings.WsFederationIdentityProvider); }
public RabbitMQMessagingService(ISitecoreConfiguration configuration, ILogger <RabbitMQMessagingService> logger, IModel channel, IMessageProcessor messageProcessor) { _logger = logger; _channel = channel; _configuration = configuration; _messageProcessor = messageProcessor; _rabbitMqConfiguration = new RabbitMQConfiguration(); _configuration.GetSection(_sectionName).Bind(_rabbitMqConfiguration); }
public ConfigureSitecore(ISitecoreConfiguration configuration, ILogger <ConfigureSitecore> logger) { _configuration = configuration; _logger = logger; }
public ConfigureSitecore(ISitecoreConfiguration configuration, ILogger <ConfigureSitecore> logger) { _logger = logger; _appSettings = new AppSettings(); configuration.GetSection(AppSettings.SectionName).Bind(this._appSettings.Saml2IdentityProvider); }
public ConfigureSitecore(ISitecoreConfiguration scConfig, ISitecorePluginManager pluginManager) { _publicOrigin = scConfig.GetSection("Sitecore:ProxySupport:PublicOrigin").Value; }
public ConfigureSitecore(ILogger <ConfigureSitecore> logger, ISitecoreConfiguration configuration) { this._logger = logger; this._settings = new PluginSettings(); configuration.GetSection(PluginSettings.SectionName).Bind(_settings); }
public Startup(ISitecoreConfiguration configuration) { _configuration = configuration; }
public ConfigureSitecore(ISitecoreConfiguration scConfig, ILogger <ConfigureSitecore> logger) { }