Example #1
0
        CreateAssemblyCommand(ModuleDef newModule, AssemblyOptions options)
        {
            var module = Module.ModuleUtils.CreateModule(options.Name, Guid.NewGuid(), options.ClrVersion, ModuleKind.Dll, newModule);

            options.CreateAssemblyDef(module).Modules.Add(module);
            this.asmNodeCreator = new AssemblyTreeNodeCreator(new LoadedAssembly(MainWindow.Instance.CurrentAssemblyList, module));
        }
Example #2
0
 public void Dispose()
 {
     if (asmNodeCreator != null)
     {
         asmNodeCreator.Dispose();
     }
     asmNodeCreator = null;
 }
Example #3
0
		public void Dispose()
		{
			if (asmNodeCreator != null)
				asmNodeCreator.Dispose();
			asmNodeCreator = null;
		}
Example #4
0
		CreateAssemblyCommand(ModuleDef newModule, AssemblyOptions options)
		{
			var module = Module.ModuleUtils.CreateModule(options.Name, Guid.NewGuid(), options.ClrVersion, ModuleKind.Dll, newModule);
			options.CreateAssemblyDef(module).Modules.Add(module);
			this.asmNodeCreator = new AssemblyTreeNodeCreator(new LoadedAssembly(MainWindow.Instance.CurrentAssemblyList, module));
		}
Example #5
0
 CreateNetModuleCommand(NetModuleOptions options)
 {
     var module = ModuleUtils.CreateNetModule(options.Name, options.Mvid, options.ClrVersion);
     this.asmNodeCreator = new AssemblyTreeNodeCreator(new LoadedAssembly(MainWindow.Instance.CurrentAssemblyList, module));
 }
Example #6
0
        CreateNetModuleCommand(NetModuleOptions options)
        {
            var module = ModuleUtils.CreateNetModule(options.Name, options.Mvid, options.ClrVersion);

            this.asmNodeCreator = new AssemblyTreeNodeCreator(new LoadedAssembly(MainWindow.Instance.CurrentAssemblyList, module));
        }
Example #7
0
		CreateNetModuleCommand(NetModuleOptions options) {
			var module = ModuleUtils.CreateNetModule(options.Name, options.Mvid, options.ClrVersion);
			this.asmNodeCreator = new AssemblyTreeNodeCreator(MainWindow.Instance.DnSpyFileList.CreateDnSpyFile(module));
		}
Example #8
0
        CreateNetModuleCommand(NetModuleOptions options)
        {
            var module = ModuleUtils.CreateNetModule(options.Name, options.Mvid, options.ClrVersion);

            this.asmNodeCreator = new AssemblyTreeNodeCreator(MainWindow.Instance.DnSpyFileList.CreateDnSpyFile(module));
        }