Guest User

Untitled

a guest
Jun 25th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. using System
  2. using System.Reflection;
  3. using PluginInterface;
  4. namespace Main
  5. {
  6. class Program
  7. {
  8.  
  9. static void Main(string[] args)
  10. {
  11. Assembly asmb = Assembly.LoadForm("Interface.dll");
  12. //DateTime beginTime = DateTime.Now;
  13. //Console.WriteLine("Begin time: " + beginTime.ToString());
  14. IPlugin obj = (IPlugin)asmb.CreateInstance("Plugin1.PluginClass");
  15. obj.Execute();
  16. //DateTime endTime = DateTime.Now;
  17. //Console.WriteLine("End time: " + beginTime.ToString());
  18. //Console.WriteLine("Total: " + (endTime - beginTime).ToString());
  19. }
  20. }
  21. }
Add Comment
Please, Sign In to add comment