Exemple #1
0
        public override async Task RunAsync(string[] args)
        {
            string pluginPath =
                string.Format("msbuild/plugin/{0}/Plugin.dll",
                              Path.GetFileName(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)));

            await using Communicator communicator = Initialize(
                            ref args,
                            new Dictionary <string, string>()
            {
                {
                    "Ice.Plugin.InvocationPlugin",
                    $"{pluginPath }:ZeroC.Ice.Test.Interceptor.InvocationPluginFactory"
                }
            });
            IMyObjectPrx prx = AllTests.Run(this);
            await prx.ShutdownAsync();
        }