Exemple #1
0
        public NetModuleOptions CreateNetModuleOptions()
        {
            var options = new NetModuleOptions();

            options.Name       = Name ?? UTF8String.Empty;
            options.ClrVersion = (ClrVersion)ClrVersion.SelectedItem;
            options.Mvid       = Mvid.Value;
            return(options);
        }
Exemple #2
0
 AddNewNetModuleToAssemblyCommand(AssemblyTreeNode asmNode, NetModuleOptions options)
     : base(asmNode, new AssemblyTreeNode(new LoadedAssembly(MainWindow.Instance.CurrentAssemblyList, ModuleUtils.CreateNetModule(options.Name, options.Mvid, options.ClrVersion))), true)
 {
 }
 public NetModuleOptions CreateNetModuleOptions()
 {
     var options = new NetModuleOptions();
     options.Name = Name ?? UTF8String.Empty;
     options.ClrVersion = (ClrVersion)ClrVersion.SelectedItem;
     options.Mvid = Mvid.Value;
     return options;
 }
Exemple #4
0
        CreateNetModuleCommand(NetModuleOptions options)
        {
            var module = ModuleUtils.CreateNetModule(options.Name, options.Mvid, options.ClrVersion);

            this.asmNodeCreator = new AssemblyTreeNodeCreator(new LoadedAssembly(MainWindow.Instance.CurrentAssemblyList, module));
        }