DoWork() 공개 메소드

public DoWork ( ) : void
리턴 void
예제 #1
0
        static void load(string assembly)
        {
            Directory.CreateDirectory("plugins");

            var manager = new AssemblyManager();

            manager.LoadFrom(assembly);
            manager.DoWork();

            //Directory.Delete("plugins", true);

            manager.DoWork();
            //manager.ShowCrossDomainPollutionExceptions();

            manager.UnLoad();
        }
예제 #2
0
        public static void Main(string[] args)
        {
            Directory.CreateDirectory("plugins");

            var manager = new AssemblyManager();

            manager.LoadFrom("plugins\\TestPluginOne.dll");
            manager.DoWork();

            Directory.Delete("plugins", true);

            manager.DoWork();
            manager.ShowCrossDomainPollutionExceptions();

            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();
        }
예제 #3
0
        static void Main(string[] args)
        {
            Directory.CreateDirectory("plugins");

            var manager = new AssemblyManager();

            manager.LoadFrom("plugins\\TestPluginOne.dll");
            manager.DoWork();

            Directory.Delete("plugins", true);

            manager.DoWork();
            manager.ShowCrossDomainPolutionExceptions();

            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();
        }