コード例 #1
0
        public TestBase()
        {
            _coreStartup.PreInitialize();

            _coreStartup.Initialize(ConfigureHost);

            ConfigureSecurityProtocol();
        }
コード例 #2
0
        /// <summary>
        /// Initializes different services used by the app.
        /// </summary>
        /// <param name="extraHostConfiguration">Add specific configurations for app initialization.</param>
        protected void InitializeServices(Action <IHostBuilder> extraHostConfiguration = null)
        {
            var coreStartup = new CoreStartup();

            coreStartup.PreInitialize();
            coreStartup.Initialize(extraHostConfiguration);

            _coreStartup = coreStartup;

            ConfigureSecurityProtocol();
        }