예제 #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();
        }