public HexCommandOperationsImpl(IMessageBoxService messageBoxService, HexEditorGroupFactoryService hexEditorGroupFactoryService, HexView hexView) { if (messageBoxService == null) throw new ArgumentNullException(nameof(messageBoxService)); if (hexEditorGroupFactoryService == null) throw new ArgumentNullException(nameof(hexEditorGroupFactoryService)); if (hexView == null) throw new ArgumentNullException(nameof(hexView)); this.messageBoxService = messageBoxService; this.hexEditorGroupFactoryService = hexEditorGroupFactoryService; HexView = hexView; hexView.Closed += HexView_Closed; }
public HexViewDocumentTabUIContext(HexEditorGroupFactoryService hexEditorGroupFactoryService, HexBuffer buffer) { hexViewHost = hexEditorGroupFactoryService.Create(buffer, PredefinedHexViewRoles.HexEditorGroup, PredefinedHexViewRoles.HexEditorGroupDefault, new Guid(MenuConstants.GUIDOBJ_ASMEDITOR_HEXVIEW_GUID)); }
HexCommandOperationsFactoryServiceImpl(IMessageBoxService messageBoxService, HexEditorGroupFactoryService hexEditorGroupFactoryService) { this.messageBoxService = messageBoxService; this.hexEditorGroupFactoryService = hexEditorGroupFactoryService; }