示例#1
0
 /// <summary>
 /// Instantiates this object with the specified set of export parameters
 /// </summary>
 /// <param name="exportParams">Export parameters collected from the dialog</param>
 /// <param name="parentViewModel">Disassembly parent view model</param>
 public DisassemblyExporter(ExportDisassemblyViewModel exportParams, DisassemblyToolWindowViewModel parentViewModel)
 {
     ExportParams      = exportParams;
     ParentViewModel   = parentViewModel;
     MaxLineLength     = GetMaxLineLength();
     InstructionIndent = new string(' ', GetIndentSpacesCount());
     InitCommentProperties();
 }
示例#2
0
 /// <summary>
 /// Sets the view model of this dialog
 /// </summary>
 /// <param name="vm"></param>
 public void SetVm(ExportDisassemblyViewModel vm)
 {
     DataContext = Vm = vm;
 }