Example #1
0
        /// <summary>
        /// Should be called once a Framework Construction is finished and we want to build it and
        /// start our application
        /// </summary>
        /// <param name="construction">The construction</param>
        /// <param name="logStarted">Specifies if the Dna Framework Started message should be logged</param>
        public static void Build(this FrameworkConstruction construction, bool logStarted = false)
        {
            // Build the service provider
            construction.Build();

            // Log the startup complete
            //if (logStarted)
            //Logger.LogCriticalSource($"Dna Framework started in {FrameworkEnvironment.Configuration}...");
        }