Exemplo n.º 1
0
        public static void Main(params string[] args)
        {
            var internalContainerSample = new InternalContainerSample();

            internalContainerSample.Run();
            Console.WriteLine("Internal Container Demo is finished. Press Any Key to continue");
            Console.ReadKey();


            var simpleInjectorSample = new SimpleInjectorSample();

            simpleInjectorSample.RunSample();
            Console.WriteLine("Simple Injector Demo is finished. Press Any Key to continue");
            Console.ReadKey();


            var staticBuilderReference = new StaticBuilderReference();

            staticBuilderReference.Run();
            Console.WriteLine("Static Builder reference Demo is finished. Press Any Key to continue");
            Console.ReadKey();

            var azureTablesSample = new AzureTableStorageSample();

            azureTablesSample.Run();
            azureTablesSample.WithSimpleInjector();
            Console.WriteLine("Azure Tables persistence demo is finished. Press Any Key to continue");
            Console.ReadKey();

            var structureMapSample = new StructureMapSample();

            structureMapSample.RunSample();
            Console.WriteLine("StructureMap demo is finished. Press Any Key to continue");
            Console.ReadKey();
        }
Exemplo n.º 2
0
        public static void Main(params string[] args)
        {
            var internalContainerSample = new InternalContainerSample();

            internalContainerSample.Run();
            Console.WriteLine("Internal Container Demo is finished. Press Any Key to continue");
            Console.ReadKey();


            var simpleInjectorSample = new SimpleInjectorSample();

            simpleInjectorSample.RunSample();
            Console.WriteLine("Simple Injector Demo is finished. Press Any Key to continue");
            Console.ReadKey();


            var staticBuilderReference = new StaticBuilderReference();

            staticBuilderReference.Run();
            Console.WriteLine("Static Builder reference Demo is finished. Press Any Key to continue");
            Console.ReadKey();
        }