Пример #1
0
        private static void GenerateXsd(QuantumDepth depth)
        {
            AppDomain domain             = AppDomainHelper.CreateDomain();
            ScriptApplicationProxy proxy = AppDomainHelper.CreateProxy <ScriptApplicationProxy>(domain);

            proxy.GenerateXsd(depth);

            AppDomain.Unload(domain);
        }
Пример #2
0
        private static void GenerateCode()
        {
            AppDomain domain             = AppDomainHelper.CreateDomain();
            ScriptApplicationProxy proxy = AppDomainHelper.CreateProxy <ScriptApplicationProxy>(domain);

            proxy.GenerateCode();

            AppDomain.Unload(domain);
        }