示例#1
0
        public ParadoxCommandsProxy()
        {
            AppDomain.CurrentDomain.AssemblyResolve += ParadoxDomainAssemblyResolve;
            var assembly = Assembly.Load("SiliconStudio.Paradox.VisualStudio.Commands");

            remote = (IParadoxCommands)assembly.CreateInstance("SiliconStudio.Paradox.VisualStudio.Commands.ParadoxCommands");
        }
示例#2
0
        public XenkoCommandsProxy()
        {
            AppDomain.CurrentDomain.AssemblyResolve += XenkoDomainAssemblyResolve;

            if (CurrentPackageInfo.IsLegacy)
            {
                var assembly = Assembly.Load("SiliconStudio.Paradox.VisualStudio.Commands");
                legacyRemote = (IParadoxCommands)assembly.CreateInstance("SiliconStudio.Paradox.VisualStudio.Commands.ParadoxCommands");
            }
            else
            {
                var assembly = Assembly.Load("SiliconStudio.Xenko.VisualStudio.Commands");
                remote = (IXenkoCommands)assembly.CreateInstance("SiliconStudio.Xenko.VisualStudio.Commands.XenkoCommands");
            }
        }
示例#3
0
        public XenkoCommandsProxy()
        {
            AppDomain.CurrentDomain.AssemblyResolve += XenkoDomainAssemblyResolve;

            if (CurrentPackageInfo.IsLegacy)
            {
                var assembly = Assembly.Load("SiliconStudio.Paradox.VisualStudio.Commands");
                legacyRemote = (IParadoxCommands)assembly.CreateInstance("SiliconStudio.Paradox.VisualStudio.Commands.ParadoxCommands");
            }
            else
            {
                var assembly = Assembly.Load("SiliconStudio.Xenko.VisualStudio.Commands");
                remote = (IXenkoCommands)assembly.CreateInstance("SiliconStudio.Xenko.VisualStudio.Commands.XenkoCommands");
            }
        }
 public ParadoxCommandsProxy()
 {
     AppDomain.CurrentDomain.AssemblyResolve += ParadoxDomainAssemblyResolve;
     var assembly = Assembly.Load("SiliconStudio.Paradox.VisualStudio.Commands");
     remote = (IParadoxCommands)assembly.CreateInstance("SiliconStudio.Paradox.VisualStudio.Commands.ParadoxCommands");
 }
        public ParadoxCommandsProxy()
        {
            var assembly = Assembly.Load("SiliconStudio.Paradox.VisualStudio.Commands");

            remote = (IParadoxCommands)assembly.CreateInstance("SiliconStudio.Paradox.VisualStudio.Commands.ParadoxCommands");
        }