コード例 #1
0
        /// <summary>
        /// Construct / Creates a new <seealso cref="MikriteContainer"/> to be able add new services and then build.
        /// </summary>
        public static MikriteContainer Construct()
        {
            Container = new MikriteContainer();

            return(Container);
        }
コード例 #2
0
        /// <summary>
        /// Construct / Creates a new <seealso cref="MikriteContainer"/> with already given container, to be able add new services and then build..
        /// </summary>
        public static MikriteContainer Construct(MikriteContainer container)
        {
            Container = container;

            return(Container);
        }
コード例 #3
0
 /// <summary>
 /// Builds the container to be able access the services.
 /// </summary>
 /// <param name="container">The container that is to be built.</param>
 public static void Build(this MikriteContainer container)
 {
     container.Build();
 }