Пример #1
0
 /// <summary>
 /// Injects all of the default services
 /// </summary>
 /// <param name="construction">The construction</param>
 /// <returns></returns>
 public static FrameworkConstruction AddDefaultServices(this FrameworkConstruction construction)
 {
     // Chain the construction
     return(construction);
 }
Пример #2
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>

        public static void Build(this FrameworkConstruction construction)
        {
            // Build the service provider
            construction.Build();
        }