コード例 #1
0
        static void DomainInitializer(string[] args)
        {
            Console.WriteLine("Initializing the installer in the Install AppDomain");
            var arguments = new HostArguments(args);
            string endpointName = null;

            if (arguments.EndpointName != null)
            {
                endpointName = arguments.EndpointName;
            }

            username = arguments.Username;

            var endpointType = Type.GetType(arguments.EndpointConfigurationType, true);
            host = new InstallWindowsHost(endpointType, args, endpointName, arguments.ScannedAssemblies);
        }
コード例 #2
0
        static void DomainInitializer(string[] args)
        {
            Console.WriteLine("Initializing the installer in the Install AppDomain");
            var    arguments    = new HostArguments(args);
            string endpointName = null;

            if (arguments.EndpointName != null)
            {
                endpointName = arguments.EndpointName;
            }

            username = arguments.Username;

            var endpointType = Type.GetType(arguments.EndpointConfigurationType, true);

            host = new InstallWindowsHost(endpointType, args, endpointName, arguments.ScannedAssemblies);
        }