Example #1
0
        /// <summary>
        /// Adds <see cref="IHttpService"/>, <see cref="IJsonService"/>, <see cref="ILoggingService"/>, and <see cref="IMapper"/> default implementations to the container
        /// </summary>
        /// <param name="container">The container in context</param>
        /// <returns>The container in context</returns>
        public static IContainer AddOnboxCore(this IContainer container)
        {
            container.AddHttp();
            container.AddJson();
            container.AddFileLogging();
            container.AddMapper();

            return(container);
        }