private void LaunchService(string typeName, string args) { var type = Type.GetType(typeName, true); _service = (IApplicationInitialize)Activator.CreateInstance(type); _service.Start(args.Split(';')); }
private void LaunchService(string typeName, string args) { var type = Type.GetType(typeName, true); _service = (IApplicationInitialize) Activator.CreateInstance(type); _service.Start(args.Split(';')); }