示例#1
0
        /// <summary>
        /// Demo program entry point.
        /// </summary>
        public static void Main()
        {
            // Initialize the tenant identification strategy.
            _tenantIdentifier = new ManualTenantIdentificationStrategy();

            // Set the application container to the multitenant container.
            _container = ConfigureDependencies();

            // Explain what you're looking at.
            WriteInstructions();

            // Start listening for input.
            ListenForInput();
        }
示例#2
0
文件: Program.cs 项目: zxy050/Autofac
        /// <summary>
        /// Demo program entry point.
        /// </summary>
        public static void Main()
        {
            // Initialize the tenant identification strategy.
            _tenantIdentifier = new ManualTenantIdentificationStrategy();

            // Set the application container to the multitenant container.
            _container = ConfigureDependencies();

            // Explain what you're looking at.
            WriteInstructions();

            // Start listening for input.
            ListenForInput();
        }