System.Runtime.Hosting.ManifestRunner.ManifestRunner C# (CSharp) Method

ManifestRunner() private method

private ManifestRunner ( AppDomain domain, ActivationContext activationContext ) : System.Deployment.Internal.Isolation
domain AppDomain
activationContext ActivationContext
return System.Deployment.Internal.Isolation
        internal ManifestRunner (AppDomain domain, ActivationContext activationContext) {
            m_domain = domain;

            string file, parameters;
            CmsUtils.GetEntryPoint(activationContext, out file, out parameters);
            if (parameters == null || parameters.Length == 0)
                m_args = new string[0];
            else
                m_args = parameters.Split(' ');

            m_apt = ApartmentState.Unknown;

            // get the 'merged' application directory path.
            string directoryName = activationContext.ApplicationDirectory;
            m_path = Path.Combine(directoryName, file);
        }