示例#1
0
        static void Main(string[] args)
        {
            Wanghzh.Prism.Bootstrapper boot = new Mefstrapper();

            boot.Run();


            boot = null;

            Console.ReadKey();
        }
示例#2
0
        static void Main()
        {
            var bootstraper = new Mefstrapper();

            bootstraper.Run();

            if (bootstraper is IDisposable)
            {
                ((IDisposable)bootstraper).Dispose();
            }
        }